Re: Any way to SELECT a list of table names?

From: "scott(dot)marlowe" <scott(dot)marlowe(at)ihs(dot)com>
To: Eric Freeman <ejf7(at)hotmail(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Any way to SELECT a list of table names?
Date: 2004-01-12 16:36:54
Message-ID: Pine.LNX.4.33.0401120936320.19667-100000@css120.ihs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Sat, 10 Jan 2004, Eric Freeman wrote:

> Is there any way in Postgres to SELECT a list of table names from inside of
> a C program using ECPG?
> Something similar to SELECT current_user that will give you all of the
> tables in the database you are connected to.

If you are running 7.4 and have the information_schema you can use that to
find out just about anything.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Eric Freeman 2004-01-12 17:07:45 unsubscribe
Previous Message Melanie Bergeron 2004-01-12 15:59:58 unsubscribe