git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: db0c96c) | patch
Make pg_createsubscriber more wary about quoting connection parameters.
2024年6月30日 17:45:24 +0000 (13:45 -0400)
2024年6月30日 17:45:24 +0000 (13:45 -0400)
commit b3f5ccebd79d9c7b73f4e04611cdf31fdf87420b
Make pg_createsubscriber more wary about quoting connection parameters.

The original coding here could fail with database names, user names,
etc that contain spaces or other special characters.

As partial test coverage, extend the 040_pg_createsubscriber.pl
test script so that it uses a generated database name containing
funny characters.

Hayato Kuroda (some mods by me), per complaint from Noah Misch

Discussion: https://postgr.es/m/20240623062157.97.nmisch@google.com
src/bin/pg_basebackup/pg_createsubscriber.c diff | blob | blame | history
src/bin/pg_basebackup/t/040_pg_createsubscriber.pl diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /