pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Achilleus Mantzios <achill@matrix.gatewaynet.com>
To: Antonis Antoniou <a.antoniou@albourne.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: retrieve the tables names based on the owner
Date: Fri, 6 Aug 2004 12:17:19 +0300 (EEST)
Message-ID: <Pine.LNX.4.44.0408061216510.6004-100000@matrix.gatewaynet.com> (raw)
In-Reply-To: <41135508.8040709@albourne.com>

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




view thread (2+ messages)  latest in thread

Message-ID: <Pine.LNX.4.44.0408061216510.6004-100000@matrix.gatewaynet.com>
Permalink:  ../Pine.LNX.4.44.0408061216510.6004-100000@matrix.gatewaynet.com/
Also on:    postgresql.org/message-id/Pine.LNX.4.44.0408061216510.6004-100000@matrix.gatewaynet.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: achill@matrix.gatewaynet.com, a.antoniou@albourne.com
  Subject: Re: retrieve the tables names based on the owner
  In-Reply-To: <Pine.LNX.4.44.0408061216510.6004-100000@matrix.gatewaynet.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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