OSDN Git Service

Allow \z to show sequences.
authorBruce Momjian <bruce@momjian.us>
Thu, 22 Jan 1998 18:50:22 +0000 (18:50 +0000)
committerBruce Momjian <bruce@momjian.us>
Thu, 22 Jan 1998 18:50:22 +0000 (18:50 +0000)
src/bin/psql/psql.c

index b2d4b43..c1ee52e 100644 (file)
@@ -7,7 +7,7 @@
  *
  *
  * IDENTIFICATION
- *       $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.126 1998/01/17 04:53:32 momjian Exp $
+ *       $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.127 1998/01/22 18:50:22 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -493,7 +493,7 @@ rightsList(PsqlSettings *pset)
        listbuf[0] = '\0';
        strcat(listbuf, "SELECT relname, relacl ");
        strcat(listbuf, "FROM pg_class, pg_user ");
-       strcat(listbuf, "WHERE ( relkind = 'r' OR relkind = 'i') ");
+       strcat(listbuf, "WHERE ( relkind = 'r' OR relkind = 'i' OR relkind = 'S') ");
        strcat(listbuf, "  and relname !~ '^pg_'");
        strcat(listbuf, "  and relname !~ '^xin[vx][0-9]+'");
        strcat(listbuf, "  and usesysid = relowner");