mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 19:37:25 +02:00
Fix compile breakage due to 0315dfa8f4
.
I wasn't careful enough when back-patching.
This commit is contained in:
parent
7963731f94
commit
369c0b0908
@ -4156,8 +4156,8 @@ _complete_from_query(int is_schema_query, const char *text, int state)
|
||||
result = NULL;
|
||||
|
||||
/* Set up suitably-escaped copies of textual inputs */
|
||||
e_text = pg_malloc(string_length * 2 + 1);
|
||||
PQescapeString(e_text, text, string_length);
|
||||
e_text = pg_malloc(byte_length * 2 + 1);
|
||||
PQescapeString(e_text, text, byte_length);
|
||||
|
||||
if (completion_info_charp)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user