Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group