Re: Tables Question - Mailing list pgsql-general

From Gilles DAROLD
Subject Re: Tables Question
Date
Msg-id 399B929F.8B278F38@darold.net
Whole thread Raw
In response to Tables Question  (e411@altavista.com)
List 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


pgsql-general by date:

Previous
From: sridhvenk@yahoo.com
Date:
Subject: Re: Tables Question
Next
From: Jerome Raupach
Date:
Subject: optimization in C