postgresql/src/bin/scripts
Noah Misch 4ec14e5aa1 Fail pgwin32_message_to_UTF16() for SQL_ASCII messages.
The function had been interpreting SQL_ASCII messages as UTF8, throwing
an error when they were invalid UTF8.  The new behavior is consistent
with pg_do_encoding_conversion().  This affects LOG_DESTINATION_STDERR
and LOG_DESTINATION_EVENTLOG, which will send untranslated bytes to
write() and ReportEventA().  On buildfarm member bowerbird, enabling
log_connections caused an error whenever the role name was not valid
UTF8.  Back-patch to 9.4 (all supported versions).

Discussion: https://postgr.es/m/20190512015615.GD1124997@rfd.leadboat.com
2019-05-12 10:33:08 -07:00
..
po Translation updates 2019-05-06 15:00:30 +02:00
t Fail pgwin32_message_to_UTF16() for SQL_ASCII messages. 2019-05-12 10:33:08 -07:00
.gitignore Remove createlang and droplang 2017-03-23 14:16:45 -04:00
clusterdb.c Empty search_path in Autovacuum and non-psql/pgbench clients. 2018-02-26 07:39:44 -08:00
common.c Remove some code related to 7.3 and older servers from tools of src/bin/ 2019-05-07 14:19:56 +09:00
common.h Empty search_path in Autovacuum and non-psql/pgbench clients. 2018-02-26 07:39:44 -08:00
createdb.c Empty search_path in Autovacuum and non-psql/pgbench clients. 2018-02-26 07:39:44 -08:00
createuser.c Empty search_path in Autovacuum and non-psql/pgbench clients. 2018-02-26 07:39:44 -08:00
dropdb.c Empty search_path in Autovacuum and non-psql/pgbench clients. 2018-02-26 07:39:44 -08:00
dropuser.c Empty search_path in Autovacuum and non-psql/pgbench clients. 2018-02-26 07:39:44 -08:00
Makefile Prevent accidental linking of system-supplied copies of libpq.so etc. 2018-04-03 16:26:05 -04:00
nls.mk Translation updates 2018-05-21 12:29:52 -04:00
pg_isready.c Update copyright for 2018 2018-01-02 23:30:12 -05:00
reindexdb.c Fix error reporting in reindexdb 2019-05-11 13:01:07 +09:00
vacuumdb.c Fix error status of vacuumdb when multiple jobs are used 2019-05-09 10:29:29 +09:00