Re: [HACKERS] libpq and db information

From: The Hermit Hacker <scrappy(at)hub(dot)org>
To: "neil d(dot) quiogue" <neil(at)iphil(dot)net>
Cc: pgsql-hackers(at)postgreSQL(dot)org, pgsql-questions(at)postgreSQL(dot)org
Subject: Re: [HACKERS] libpq and db information
Date: 1998-01-12 13:11:40
Message-ID: Pine.NEB.3.95.980112081105.2566C-100000@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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...

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-01-12 13:30:12 Re: New pg_pwd patch and stuff
Previous Message neil d. quiogue 1998-01-12 11:59:30 Re: [QUESTIONS] libpq and db information