Re: retrieve the tables names based on the owner

Поиск
Список
Период
Сортировка
От Achilleus Mantzios
Тема Re: retrieve the tables names based on the owner
Дата
Msg-id Pine.LNX.4.44.0408061216510.6004-100000@matrix.gatewaynet.com
обсуждение исходный текст
Ответ на retrieve the tables names based on the owner  ("Antonis Antoniou" <a.antoniou@albourne.com>)
Ответы SQL_ASCII and UNICODE server_encoding  (Achilleus Mantzios <achill@matrix.gatewaynet.com>)
Список pgsql-sql
O kyrios Antonis Antoniou egrapse stis Aug 6, 2004 :

> Hi guys,

Kalhmera Antoni!

> 
> How can I retrieve (with a query) from a database, only the table names 
> based on the owner name?
> 

SELECT schemaname||'.'||tablename from pg_tables where 
tableowner='postgres';


> 
> Many Thanks
> Antonis
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

-- 
-Achilleus



В списке pgsql-sql по дате отправления:

Предыдущее
От: "Antonis Antoniou"
Дата:
Сообщение: retrieve the tables names based on the owner
Следующее
От: Tom Lane
Дата:
Сообщение: Re: SQL syntax extentions - to put postgres ahead in the race