| From: | Jeff Waugh <jdub(at)aphid(dot)net> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Classes of returned rows |
| Date: | 2001-04-27 06:16:35 |
| Message-ID: | 20010427161635.A9569@aphid.net |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
<quote who="will trillich">
> select c.relname,a.attname
> from pg_class c,pg_attribute a
> where a.attrelid=c.oid
> AND a.attname LIKE 'table%'
> order by attname,relname;
select pg_class.relname, *
from users
where pg_class.relfilenode = tableoid;
relname | login | passhash
-----------+----------+----------
users | user | user
users | user2 | user2
clients | client | client
clients | client2 | client2
suppliers | supplier | supplier
Results from 7.1 :)
- Jeff
--
Web development with PHP is like injecting pure rust with a
high-pressure hose. For pain relief.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Eugene Lee | 2001-04-27 06:26:06 | COPY syntax in ColdFusion |
| Previous Message | Anand Raman | 2001-04-27 05:30:11 | Re: Data Export from PostGreSQL |