Skip site navigation (1) Skip section navigation (2)

how to get all the tables of a database?

From: inkle c <inkle99(at)yahoo(dot)com>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: how to get all the tables of a database?
Date: 1999-08-25 18:12:06
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces

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?


Do You Yahoo!?
Bid and sell for free at

pgsql-interfaces by date

Next:From: Rontxi A.Date: 1999-08-25 18:32:07
Subject: "subscribe"
Previous:From: Hiroki KataokaDate: 1999-08-25 18:00:34
Subject: RE: [INTERFACES] Access 2000

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group