Re: Tables Question

From: Gilles DAROLD <gilles(at)darold(dot)net>
To:
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Tables Question
Date: 2000-08-17 07:22:07
Message-ID: 399B929F.8B278F38@darold.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

> How can I retrieve the "names" of all the tables in my database ?

Not sure what you are using but if you use DBI perl interface you can
use
this two functions :

$sth = $dbh->table_info;
@names = $dbh->tables;

They works well with DBD::Pg.

In psql simply type \d..... this is certainly not what you are asking.

Regards

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Glenn Tramm 2000-08-17 08:23:19 Re: Tables Question
Previous Message Stephan Szabo 2000-08-17 01:26:34 Re: Re[2]: Unimpletmented features