Re: User tables - Mailing list pgsql-general

From chris smith
Subject Re: User tables
Date
Msg-id 3c1395330603042222x5464fa2bv9acea9fedb29cd8a@mail.gmail.com
Whole thread Raw
In response to Re: User tables  (Bricklen Anderson <banderson@presinet.com>)
List pgsql-general
> > Suppose there 3 users red, green, blue. How can the user green know what
> > tables he has created?!
> >  From psql command line \dt lists every table in the DB!!!
> >
> > Thanks in advance.
> >
> > Hrishi
> If you mean that the owner of the table(s) is the user "green", then try
> select * from pg_tables where tableowner='green';

or from inside psql:

\z

pgsql-general by date:

Previous
From: "Gavin M. Roy"
Date:
Subject: Re: xml and utf-8
Next
From: Brendan Duddridge
Date:
Subject: Re: PostgreSQL on Intel Core Duo Macs?