Skip site navigation (1) Skip section navigation (2)

Re: patch: move dumpUserConfig call in dumpRoles function of pg_dumpall.c

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Phil Sorber <phil(at)omniti(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: patch: move dumpUserConfig call in dumpRoles function of pg_dumpall.c
Date: 2011-07-27 23:51:59
Message-ID: 19636.1311810719@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-hackers
Phil Sorber <phil(at)omniti(dot)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

In response to

Responses

pgsql-hackers by date

Next:From: davegDate: 2011-07-28 00:28:53
Subject: error: could not find pg_class tuple for index 2662
Previous:From: Florian PflugDate: 2011-07-27 23:46:46
Subject: Re: Is a heads-up in 9.1 in order regarding the XML-related changes in 9.2?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group