]> granicus.if.org Git - postgresql/commitdiff
Fix pg_dump for recent change removing separate RULE privilege.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Sep 2006 18:05:35 +0000 (18:05 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 8 Sep 2006 18:05:35 +0000 (18:05 +0000)
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.

src/bin/pg_dump/dumputils.c

index 8648c2f5590217d02ebfc680d184e4c2b38ecb32..6f5e2d243eb4bbd99772de84d1368e17c5ba1ad2 100644 (file)
@@ -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");