Disallow superuser names starting with 'pg_' in initdb
authorStephen Frost <[email protected]>
Sun, 8 May 2016 15:55:44 +0000 (11:55 -0400)
committerStephen Frost <[email protected]>
Sun, 8 May 2016 15:55:44 +0000 (11:55 -0400)
commit7df974ee0bfd8978830b941e7af5697fd4268656
tree03e8c15ec4e64d3c4c03ddbcf78408b7be48049b
parent9eb7a0ac6b24804dcc90e42e533aa1b7b585d8e2
Disallow superuser names starting with 'pg_' in initdb

As with CREATE ROLE, disallow users from specifying initial
superuser names which begin with 'pg_' in initdb.

Per discussion with Tom.
src/bin/initdb/initdb.c