Re: libpq question..

From: Alberto Cabello Sanchez <alberto(at)unex(dot)es>
To: Kenneth Suralta <ksuralta(at)ntsp(dot)nec(dot)co(dot)jp>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: libpq question..
Date: 2003-12-01 07:15:10
Message-ID: 20031201071510.GA25177@guadiana.unex.es
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

> Does anybody know how to determine the user-defined tables
> in a database using C (libpq) ???

You can query the database:
SELECT tablename FROM pg_tables WHERE tablename NOT LIKE 'pg_%'
and browse the result.
Hope this helps.

--
-----------------------
Alberto Cabello Sánchez
alberto(at)unex(dot)es
Servicio de Informática
924 289 351
-----------------------

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2003-12-01 22:36:24 Re: quick ECPG doco change
Previous Message Kenneth Suralta 2003-12-01 05:47:52 libpq question..