pike.git/
lib/
modules/
Sql.pmod/
pgsql_util.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2020-02-17
2020-02-17 16:13:00 by Stephen R. van den Berg <srb@cuci.nl>
2d81f77bf55a792e6005183e6d879ff82b6c55f6 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
8.0
pgsql: Do not pass along strings with NUL characters in UTF-8.
1195:
value = (string)value; switch (cenc) { case UTF8CHARSET:
+
if (has_value(value, 0))
+
SUSERERROR("NUL characters not allowed in PG-UTF-8: %O\n",
+
value);
+
else
value = string_to_utf8(value); break; default: