how to get all the tables of a database?

Поиск
Список
Период
Сортировка
От inkle c
Тема how to get all the tables of a database?
Дата
Msg-id 19990825181206.2047.rocketmail@web502.yahoomail.com
обсуждение исходный текст
Список pgsql-interfaces
Hi,

I am trying to get all the tables within a database,
which is equivalent to commandline "select \dt" after "pgsql mydb" gets
connected. I need this to
be written in C/C++ program, it would be something
similar to myPgConnection.ExecCommandOk("select * from
mydb") according to my own naive thought. I know there
is a table pg_database(or whatever) which contains all
databases created, is there a correspondent in any
database, or what is the alternative way to get all
tables from the databases?

Thanks.

inkle
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com



В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Hiroki Kataoka"
Дата:
Сообщение: RE: [INTERFACES] Access 2000
Следующее
От: Hannu Krosing
Дата:
Сообщение: Re: [INTERFACES] Trying to find a PostgreSQL interface