Re: SHOW TABLES - Mailing list pgsql-hackers

From Greg Sabino Mullane
Subject Re: SHOW TABLES
Date
Msg-id ad2c18f97f17d9c46240aef09ee07dc8@biglumber.com
Whole thread Raw
In response to Re: SHOW TABLES  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: SHOW TABLES
Re: SHOW TABLES
List pgsql-hackers
-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160


> Well, if you put information_schema in the default path, it'd be
>
> SELECT * FROM TABLES;

Except it also shows views[1]. Oh, and it has a bunch of other arcane 
and unwanted columns. Which we can't remove, nor can we add additional 
columns to it, because it was specified by the standard, which 
means that it was designed by committee and thus ugly and unusable 
for most things.

[1] Granted, it would at least *tell* you its a view, unlike 
MySQL's SHOW TABLES. On the other hand, no owner as per \dt

P.S. What's with the uppercase mania in this thread? Can we 
please get back to saying "select * from tables" 
and "show tables"? :)

- -- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkw/WA0ACgkQvJuQZxSWSsilEwCgqo8OefwS2B65JnJjH9xLVhp0
R2wAoPtuMxSPvVKfZ19yBDo8as59p7lv
=YmAb
-----END PGP SIGNATURE-----




pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: SHOW TABLES
Next
From: Peter Eisentraut
Date:
Subject: Re: SHOW TABLES