pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alberto Cabello Sanchez <alberto@unex.es>
To: Kenneth Suralta <ksuralta@ntsp.nec.co.jp>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpq question..
Date: Mon, 1 Dec 2003 08:15:10 +0100
Message-ID: <20031201071510.GA25177@guadiana.unex.es> (raw)
In-Reply-To: <3FCAD608.4020001@hq.ntsp.nec.co.jp>
References: <3FCAD608.4020001@hq.ntsp.nec.co.jp>

> 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
-----------------------



view thread (7+ messages)

Message-ID: <20031201071510.GA25177@guadiana.unex.es>
Permalink:  ../20031201071510.GA25177@guadiana.unex.es/
Also on:    postgresql.org/message-id/20031201071510.GA25177@guadiana.unex.es

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: alberto@unex.es, ksuralta@ntsp.nec.co.jp
  Subject: Re: libpq question..
  In-Reply-To: <20031201071510.GA25177@guadiana.unex.es>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox