Re: How to detect primary key of a table

Поиск
Список
Период
Сортировка
От Tino Wildenhain
Тема Re: How to detect primary key of a table
Дата
Msg-id 442BC170.8000204@wildenhain.de
обсуждение исходный текст
Ответ на Re: How to detect primary key of a table  ("Sergey Karin" <sergey.karin@gmail.com>)
Список pgsql-general
Sergey Karin schrieb:
>
> Yes, it is not a problem via psql.
>
> But I want to detect primary key via libpq (e.g using select commands)
>
Look into informational-schema
or start psql with the option -e
then use \d+ and see what it prints :-)

Regards
Tino

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

Предыдущее
От: "Sergey Karin"
Дата:
Сообщение: Re: How to detect primary key of a table
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: converting timstamptz to local time zone