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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: c397814) | patch
initdb: Fix for mixed-case superuser names
2017年1月19日 17:00:00 +0000 (12:00 -0500)
2017年1月19日 21:17:36 +0000 (16:17 -0500)
commit 8b0fec93ecc788c8d8b329d41ab795712d8dcc5a
initdb: Fix for mixed-case superuser names

The previous coding did not properly quote the user name before casting
it to regrole. To avoid all that, just pass in BOOTSTRAP_SUPERUSERID
numerically.

Also fix one place where the BOOTSTRAP_SUPERUSERID was hardcoded as 10.
src/bin/initdb/initdb.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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