Re: libpq question.. - Mailing list pgsql-interfaces

From Alberto Cabello Sanchez
Subject Re: libpq question..
Date
Msg-id 20031201071510.GA25177@guadiana.unex.es
Whole thread Raw
In response to libpq question..  (Kenneth Suralta <ksuralta@ntsp.nec.co.jp>)
List 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@unex.es
Servicio de Informática
924 289 351
-----------------------


pgsql-interfaces by date:

Previous
From: Kenneth Suralta
Date:
Subject: libpq question..
Next
From: Bruce Momjian
Date:
Subject: Re: quick ECPG doco change