Skip to content

Commit 2105091

Browse files
committed
Fix compile breakage due to 0315dfa.
I wasn't careful enough when back-patching.
1 parent 8de488d commit 2105091

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bin/psql/tab-complete.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3719,8 +3719,8 @@ _complete_from_query(int is_schema_query, const char *text, int state)
37193719
result = NULL;
37203720

37213721
/* Set up suitably-escaped copies of textual inputs */
3722-
e_text = pg_malloc(string_length * 2 + 1);
3723-
PQescapeString(e_text, text, string_length);
3722+
e_text = pg_malloc(byte_length * 2 + 1);
3723+
PQescapeString(e_text, text, byte_length);
37243724

37253725
if (completion_info_charp)
37263726
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy