diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-07-20 08:44:45 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-07-20 08:44:45 +0000 |
commit | df43edcf450ff70f610e8fcb54573f5d1ca7bd04 (patch) | |
tree | a83917972bf99f051bc966f9e18065d9d5ba002a | |
parent | ffae4ebde91a894d381a4b7fa9671fe83f08db3f (diff) | |
download | postgresql-df43edcf450ff70f610e8fcb54573f5d1ca7bd04.tar.gz postgresql-df43edcf450ff70f610e8fcb54573f5d1ca7bd04.zip |
Fix for:
>
> We did some testing and found that if we name the table 'Inv' with
> anything appended to it, the table does not appear in the '\d' table list.
> It appears to be the capital I as a table named 'invItemsL' is created
> and displayed properly.
>
- submitted by: Jason Wright <jason@shiloh.vnet.net>
-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 3eadc497415..4e33ed79df3 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.4 1996/07/18 05:48:40 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.5 1996/07/20 08:44:45 scrappy Exp $ * *------------------------------------------------------------------------- */ @@ -223,7 +223,7 @@ tableList (PsqlSettings *ps, bool deep_tablelist) strcat(listbuf," FROM pg_class, pg_user "); strcat(listbuf,"WHERE ( relkind = 'r' OR relkind = 'i') "); strcat(listbuf," and relname !~ '^pg_'"); - strcat(listbuf," and relname !~ '^Inv'"); + strcat(listbuf," and relname !~ '^Inv[0-9]+'"); /* the usesysid = relowner won't work on stock 1.0 dbs, need to add in the int4oideq function */ strcat(listbuf," and usesysid = relowner"); |