Re: HELP! BUG? pg_dump mucks up grant/revoke

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Keith F Irwin <kirwin14(at)home(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: HELP! BUG? pg_dump mucks up grant/revoke
Date: 2001-07-29 19:39:29
Message-ID: 2144.996435569@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs pgsql-general

Keith F Irwin <kirwin14(at)home(dot)com> writes:
> [ 7.1.2 pg_dump dumps GRANT/REVOKE for a view before the view itself ]
>
> This is a bug, isn't it?

Yes, and a rather unpleasant one, since it will force people to do
manual correction of their dump files, if they have views with
permissions set on them.

I think the fix will be simple (haven't looked at the code yet though).

Question we need to think about: is this a sufficiently bad problem
to justify putting out a 7.1.3 release? There are a few other
unhappinesses in 7.1.2 that have been or could be fixed by
back-patching, but so far I haven't felt that we needed a 7.1.3,
given that 7.2 isn't too far away. But this bug is going to make it
difficult for people to upgrade to 7.2, unless we provide a 7.1
patch release first.

Opinions anyone?

regards, tom lane

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2001-07-29 19:46:54 Re: timestamp (minor bug)
Previous Message Dong, Meng 2001-07-27 01:14:58 'int8' is not always OK, 'bigint' seems to be more reliable instead.

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2001-07-29 19:54:26 Re: pg_hba.conf with the "password" auth failed to work sometimes...
Previous Message Tom Lane 2001-07-29 19:24:48 Re: Re: pqReadData() -- backend closed the channel unexpectedly.