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.