mirror of
https://github.com/postgres/postgres.git
synced 2025-04-27 22:56:53 +03:00
Fix pg_dump for recent change removing separate RULE privilege.
I had thought this code could be left alone, but I was wrong: as-is it's failing to recognize when to use ALL for table privileges in 8.2.
This commit is contained in:
parent
d09e79deb9
commit
bf6b92d6e0
@ -7,7 +7,7 @@
|
|||||||
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
|
||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/bin/pg_dump/dumputils.c,v 1.30 2006/06/01 00:15:36 tgl Exp $
|
* $PostgreSQL: pgsql/src/bin/pg_dump/dumputils.c,v 1.31 2006/09/08 18:05:35 tgl Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -622,7 +622,6 @@ do { \
|
|||||||
{
|
{
|
||||||
/* table only */
|
/* table only */
|
||||||
CONVERT_PRIV('a', "INSERT");
|
CONVERT_PRIV('a', "INSERT");
|
||||||
CONVERT_PRIV('R', "RULE");
|
|
||||||
if (remoteVersion >= 70200)
|
if (remoteVersion >= 70200)
|
||||||
{
|
{
|
||||||
CONVERT_PRIV('d', "DELETE");
|
CONVERT_PRIV('d', "DELETE");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user