aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-09-08 18:05:35 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-09-08 18:05:35 +0000
commitbf6b92d6e06cbca70e5c43bcdf7d58f15f27bf99 (patch)
treee28ab8656739b5310b55ed902a5b4cba3f33ea04
parentd09e79deb97baa0609203f5815005545f3e280a7 (diff)
downloadpostgresql-bf6b92d6e06cbca70e5c43bcdf7d58f15f27bf99.tar.gz
postgresql-bf6b92d6e06cbca70e5c43bcdf7d58f15f27bf99.zip
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.
-rw-r--r--src/bin/pg_dump/dumputils.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/bin/pg_dump/dumputils.c b/src/bin/pg_dump/dumputils.c
index 8648c2f5590..6f5e2d243eb 100644
--- a/src/bin/pg_dump/dumputils.c
+++ b/src/bin/pg_dump/dumputils.c
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2006, PostgreSQL Global Development Group
* 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 */
CONVERT_PRIV('a', "INSERT");
- CONVERT_PRIV('R', "RULE");
if (remoteVersion >= 70200)
{
CONVERT_PRIV('d', "DELETE");