pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: inkle c <inkle99@yahoo.com>
To: pgsql-interfaces@postgreSQL.org
Subject: how to get all the tables of a database?
Date: Wed, 25 Aug 1999 11:12:06 -0700 (PDT)
Message-ID: <19990825181206.2047.rocketmail@web502.yahoomail.com> (raw)

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




Message-ID: <19990825181206.2047.rocketmail@web502.yahoomail.com>
Permalink:  ../19990825181206.2047.rocketmail@web502.yahoomail.com/
Also on:    postgresql.org/message-id/19990825181206.2047.rocketmail@web502.yahoomail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: inkle99@yahoo.com
  Subject: Re: how to get all the tables of a database?
  In-Reply-To: <19990825181206.2047.rocketmail@web502.yahoomail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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