pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedRe: list of tables ? -update to question ...
2+ messages / 2 participants
[nested] [flat]
* Re: list of tables ? -update to question ...
@ 2002-07-11 14:07 Steve Brett <SBrett@e-mis.com>
0 siblings, 1 reply; 2+ messages in thread
From: Steve Brett @ 2002-07-11 14:07 UTC (permalink / raw)
To: Stephane Schildknecht <sschildknecht@aurora-linux.com>; pgsql-sql
sorry ... i didn't make myself clear ...
i have of course come across \dt before ...
what i meant was via sql as in 'select tablelist from <some pg sys table
perhaps ?>'
Steve
> -----Original Message-----
> From: Stephane Schildknecht [mailto:sschildknecht@aurora-linux.com]
> Sent: 11 July 2002 15:06
> To: Steve Brett
> Subject: Re: [SQL] list of tables ?
>
>
> Le jeu 11/07/2002 à 16:00, Steve Brett a écrit :
> > can anyone point me in the right direction ?
> >
> > i need to list all the tables in a database.
> >
> > i've looked at pgadmin_tables which is empty and pga_schema
> whihc contains a
> > sinlge row i don't want to parse ...
> >
> > is there an easier way t get a list of tables ?
> >
> > i'm on 7.2
> >
> > ta,
> >
> > Steve Brett
> \d
>
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: list of tables ? -update to question ...
@ 2002-07-11 18:38 Jan Wieck <JanWieck@Yahoo.com>
parent: Steve Brett <SBrett@e-mis.com>
0 siblings, 0 replies; 2+ messages in thread
From: Jan Wieck @ 2002-07-11 18:38 UTC (permalink / raw)
To: Steve Brett <SBrett@e-mis.com>; +Cc: Stephane Schildknecht <sschildknecht@aurora-linux.com>; pgsql-sql
Steve Brett wrote:
>
> sorry ... i didn't make myself clear ...
>
> i have of course come across \dt before ...
>
> what i meant was via sql as in 'select tablelist from <some pg sys table
> perhaps ?>'
What about:
SELECT * FROM pg_tables;
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2002-07-11 18:38 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2002-07-11 14:07 Re: list of tables ? -update to question ... Steve Brett <SBrett@e-mis.com>
2002-07-11 18:38 ` Jan Wieck <JanWieck@Yahoo.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