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:11:33 by Stephen R. van den Berg <srb@cuci.nl>
d87fb2475351d5aa377201fa8ccd573cedae9c02 (
7
lines) (+
6
/-
1
)
[
Show
|
Annotate
]
Branch:
master
pgsql: Do not pass along strings with NUL characters in UTF-8.
1308:
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: