[COMMITTERS] pgsql: initdb: Fix for mixed-case superuser names

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема [COMMITTERS] pgsql: initdb: Fix for mixed-case superuser names
Дата
Msg-id E1cUK6v-0001Cd-3J@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/8b0fec93ecc788c8d8b329d41ab795712d8dcc5a

Modified Files
--------------
src/bin/initdb/initdb.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: [COMMITTERS] pgsql: Teach partitioning tests not to use DROP TABLE ... CASCADE.
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: [COMMITTERS] pgsql: Add function to import operating systemcollations