Re: deduce sequence name from table and column

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: deduce sequence name from table and column
Дата
Msg-id 29515.1135092706@sss.pgh.pa.us
обсуждение исходный текст
Ответ на deduce sequence name from table and column  (Louis-David Mitterrand <vindex@apartia.org>)
Ответы Re: deduce sequence name from table and column
Список pgsql-general
Louis-David Mitterrand <vindex@apartia.org> writes:
> Is there a way (from DBI) to deduce a sequence name from the table and
> column it is attached to?

Since 8.0 you can use pg_get_serial_sequence(), see
http://www.postgresql.org/docs/8.0/static/functions-info.html

            regards, tom lane

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

Предыдущее
От: Louis-David Mitterrand
Дата:
Сообщение: deduce sequence name from table and column
Следующее
От: Seneca Cunningham
Дата:
Сообщение: Re: out of memory during query execution