Re: [QUESTIONS] libpq and db information - Mailing list pgsql-hackers

From neil d. quiogue
Subject Re: [QUESTIONS] libpq and db information
Date
Msg-id Pine.LNX.3.95.980112195815.4082D-100000@tirad.herrera.iphil.net
Whole thread Raw
In response to libpq and db information  ("neil d. quiogue" <neil@iphil.net>)
List pgsql-hackers
On Mon, 12 Jan 1998, neil d. quiogue wrote:

> is there any way to be able to peer to a database' information (tables and
> their fields) similar to reflection in java using libpq?  i know one can
> use the \d recursively but isn't there a way using libpq?  i need the
> information to properly modify a particular part in radius.

don't you just love replying to your own questions.  i'm looking at how
pg_dump.c implemented it (through the system catalogue).  unless anyone
has another answer, i'll be glad to hear it.

[---]
Neil D. Quiogue <neil@iphil.net>
IPhil Communications Network, Inc.
Other: neil@postgresql.org


pgsql-hackers by date:

Previous
From: Zeugswetter Andreas DBT
Date:
Subject: nested subselects are allowed
Next
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] libpq and db information