Thread: pgsql: Fix recent commit for tab-completion of database template.

pgsql: Fix recent commit for tab-completion of database template.

From
Kevin Grittner
Date:
Fix recent commit for tab-completion of database template.

The details of commit 52803098ab26051c0c9802f3c19edffc90de8843 were
based on a misunderstanding of the role inheritance allowing use
of a database for a template.  While the CREATEDB privilege is not
inherited, the database ownership is privileges are.

Pointed out by Vitaly Burovoy and Tom Lane.
Fix provided by Tom Lane, reviewed by Vitaly Burovoy.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/63c1a871940c7c4798788e98fdb1a24408a49d05

Modified Files
--------------
src/bin/psql/tab-complete.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)