1
0
mirror of https://github.com/postgres/postgres.git synced 2025-05-06 19:59:18 +03:00

Fix compile breakage due to 0315dfa8f4afa8390383119330ca0bf241be4ad4.

I wasn't careful enough when back-patching.
This commit is contained in:
Robert Haas 2016-03-04 12:11:30 -05:00
parent 7963731f94
commit 369c0b0908

View File

@ -4156,8 +4156,8 @@ _complete_from_query(int is_schema_query, const char *text, int state)
result = NULL; result = NULL;
/* Set up suitably-escaped copies of textual inputs */ /* Set up suitably-escaped copies of textual inputs */
e_text = pg_malloc(string_length * 2 + 1); e_text = pg_malloc(byte_length * 2 + 1);
PQescapeString(e_text, text, string_length); PQescapeString(e_text, text, byte_length);
if (completion_info_charp) if (completion_info_charp)
{ {