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

index b2d4b434269c819961871507e785dd24dbaebd23..c1ee52ef16024003b89e7741e6500041f793dcc4 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");