Re: patch: move dumpUserConfig call in dumpRoles function of pg_dumpall.c
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Phil Sorber <phil@omniti.com>
Cc: pgsql-hackers@postgresql.org
Date: 2011-07-27T23:51:59Z
Lists: pgsql-hackers
Phil Sorber <phil@omniti.com> writes: > Currently if you use 'ALTER ROLE rolename SET ROLE', pg_dumpall will > dump an 'ALTER ROLE' out right after the 'CREATE ROLE' statement. I think pg_dumpall is the very least of your problems if you do something like that. We probably ought to forbid it entirely. regards, tom lane