diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-01-22 18:50:22 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-01-22 18:50:22 +0000 |
commit | 0fd8d6018587e5f8162f96e59c693dca7b8fae82 (patch) | |
tree | 363f79f70c714eaec73b26b5e0634a883dcf97bc | |
parent | ef06ec61e6f827dd1b2bf269c2e5ad8aa9b91e0e (diff) | |
download | postgresql-0fd8d6018587e5f8162f96e59c693dca7b8fae82.tar.gz postgresql-0fd8d6018587e5f8162f96e59c693dca7b8fae82.zip |
Allow \z to show sequences.
-rw-r--r-- | src/bin/psql/psql.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bin/psql/psql.c b/src/bin/psql/psql.c index b2d4b434269..c1ee52ef160 100644 --- a/src/bin/psql/psql.c +++ b/src/bin/psql/psql.c @@ -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"); |