Re: User tables

Поиск
Список
Период
Сортировка
От chris smith
Тема Re: User tables
Дата
Msg-id 3c1395330603042222x5464fa2bv9acea9fedb29cd8a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: User tables  (Bricklen Anderson <banderson@presinet.com>)
Список 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 по дате отправления:

Предыдущее
От: "Gavin M. Roy"
Дата:
Сообщение: Re: xml and utf-8
Следующее
От: Brendan Duddridge
Дата:
Сообщение: Re: PostgreSQL on Intel Core Duo Macs?