Re: tables & retrieving their names

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Mohsen Pahlevanzadeh <mohsen(at)pahlevanzadeh(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: tables & retrieving their names
Date: 2005-02-22 01:26:50
Message-ID: 20050222012650.GA34504@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, Feb 21, 2005 at 03:45:42PM -0800, Mohsen Pahlevanzadeh wrote:

> 2.How i see name of my tables in shell?
> 3.How i see name of my DBs in shell?

See the psql documentation:

http://www.postgresql.org/docs/8.0/static/app-psql.html

See also "System Catalogs" and "The Information Schema":

http://www.postgresql.org/docs/8.0/static/catalogs.html
http://www.postgresql.org/docs/8.0/static/information-schema.html

> 4.How i retrieve tables's name in C?
> 5.How i retrieve DBs's name in C?

In addition to the above, see "libpq - C Library" in the documentation:

http://www.postgresql.org/docs/8.0/static/libpq.html

If you're new to PostgreSQL, it might be useful to go through the
Tutorial and then skim the rest of the documentation. The FAQ might
also answer some of your questions.

http://www.postgresql.org/docs/

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-02-22 04:01:03 Re: Shared Memory and Mac OS X
Previous Message Klint Gore 2005-02-22 00:09:24 Re: Postgresql and Delphi for windows