Re: [QUESTIONS] libpq and db information

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [QUESTIONS] libpq and db information
Дата
Msg-id Pine.LNX.3.95.980112193632.24058A-100000@maidast
обсуждение исходный текст
Ответ на 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.

In jdbc, there are methods that allow you to get details about what tables
and columns are present, and their details.

I'm still working on the code to get information about access rights to
the various tables.

All of these use SQL queries, based on libpq.

These are new additions to the jdbc driver for V6.3, due beta Feb 1st.

--
Peter T Mount  petermount@earthling.net or pmount@maidast.demon.co.uk
Main Homepage: http://www.demon.co.uk/finder
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


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

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: [HACKERS] Re: New pg_pwd patch and stuff
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: varchar() troubles