Re: [HACKERS] libpq and db information

Поиск
Список
Период
Сортировка
От The Hermit Hacker
Тема Re: [HACKERS] libpq and db information
Дата
Msg-id Pine.NEB.3.95.980112081105.2566C-100000@hub.org
обсуждение исходный текст
Ответ на libpq and db information  ("neil d. quiogue" <neil@iphil.net>)
Список 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...



В списке pgsql-hackers по дате отправления:

Предыдущее
От: "neil d. quiogue"
Дата:
Сообщение: Re: [QUESTIONS] libpq and db information
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: New pg_pwd patch and stuff