postgresql/src/bin
Tom Lane 55d26ff638 Rationalize handling of single and double quotes in bootstrap data.
Change things around so that proper quoting of values interpolated into
the BKI data by initdb is the responsibility of initdb, not something
we half-heartedly handle by putting double quotes into the raw BKI data.
(Note: experimentation shows that it still doesn't work to put a double
quote into the initial superuser username, but that's the fault of
inadequate quoting while interpolating the name into SQL scripts;
the BKI aspect of it works fine now.)

Having done that, we can remove the special-case handling of values
that look like "something" from genbki.pl, and instead teach it to
escape double --- and single --- quotes properly.  This removes the
nowhere-documented need to treat those specially in the BKI source
data; whatever you write will be passed through unchanged into the
inserted data value, modulo Perl's rules about single-quoted strings.

Add documentation explaining the (pre-existing) handling of backslashes
in the BKI data.

Per an earlier discussion with John Naylor.

Discussion: https://postgr.es/m/CAJVSVGUNao=-Q2-vAN3PYcdF5tnL5JAHwGwzZGuYHtq+Mk_9ng@mail.gmail.com
2018-04-17 19:53:50 -04:00
..
initdb Rationalize handling of single and double quotes in bootstrap data. 2018-04-17 19:53:50 -04:00
pg_archivecleanup pg_archivecleanup: Add test suite 2017-09-14 22:23:00 -04:00
pg_basebackup Silence some warnings in TAP tests 2018-04-09 21:46:17 +02:00
pg_config Update copyright for 2018 2018-01-02 23:30:12 -05:00
pg_controldata Add #includes missed in commit e22b27f0cb. 2018-03-25 00:46:43 -04:00
pg_ctl Allow group access on PGDATA 2018-04-07 17:45:39 -04:00
pg_dump Fix a few typos in comments and variable names. 2018-04-17 11:54:57 -04:00
pg_resetwal Allow group access on PGDATA 2018-04-07 17:45:39 -04:00
pg_rewind Make sure pg_rewind can't run as root 2018-04-09 21:33:33 +02:00
pg_test_fsync Make WAL segment size configurable at initdb time. 2017-09-19 22:03:48 -07:00
pg_test_timing pg_test_timing: Some NLS fixes 2017-08-26 09:25:19 -04:00
pg_upgrade Revert "Allow on-line enabling and disabling of data checksums" 2018-04-09 19:03:42 +02:00
pg_verify_checksums Don't attempt to verify checksums on new pages 2018-04-15 14:05:56 +02:00
pg_waldump Update copyright for 2018 2018-01-02 23:30:12 -05:00
pgbench Prevent accidental linking of system-supplied copies of libpq.so etc. 2018-04-03 16:26:05 -04:00
pgevent Update copyright for 2018 2018-01-02 23:30:12 -05:00
psql Revert MERGE patch 2018-04-12 11:22:56 +01:00
scripts Switch client-side code to include catalog/pg_foo_d.h not pg_foo.h. 2018-04-08 13:59:52 -04:00
Makefile Allow on-line enabling and disabling of data checksums 2018-04-05 22:04:48 +02:00