pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Re: retrieve the tables names based on the owner
2+ messages / 2 participants
[nested] [flat]

* Re: retrieve the tables names based on the owner
@ 2004-08-06 09:17  Achilleus Mantzios <achill@matrix.gatewaynet.com>
  parent: Antonis Antoniou <a.antoniou@albourne.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Achilleus Mantzios @ 2004-08-06 09:17 UTC (permalink / raw)
  To: Antonis Antoniou <a.antoniou@albourne.com>; +Cc: 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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* retrieve the tables names based on the owner
@ 2004-08-06 09:53  Antonis Antoniou <a.antoniou@albourne.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Antonis Antoniou @ 2004-08-06 09:53 UTC (permalink / raw)
  To: pgsql-sql

Hi guys,

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


Many Thanks
Antonis




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2004-08-06 09:53 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-08-06 09:53 retrieve the tables names based on the owner Antonis Antoniou <a.antoniou@albourne.com>
2004-08-06 09:17 ` Achilleus Mantzios <achill@matrix.gatewaynet.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox