Re: [HACKERS] libpq and db information

Marc G. Fournier <scrappy@hub.org>

From: The Hermit Hacker <scrappy@hub.org>
To: "neil d. quiogue" <neil@iphil.net>
Cc: pgsql-hackers@postgreSQL.org, pgsql-questions@postgreSQL.org
Date: 1998-01-12T13:11:40Z
Lists: pgsql-hackers
On Mon, 12 Jan 1998, neil d. quiogue wrote:

> hello,
> 
> 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.

	Not sure if this is what you are looking for, but to implement
this in some of my code, I just went into the pg_dump.c code and pulled
out the required SQL statement...