Re: deduce sequence name from table and column

Поиск
Список
Период
Сортировка
От Louis-David Mitterrand
Тема Re: deduce sequence name from table and column
Дата
Msg-id 20051220153647.GA28076@apartia.fr
обсуждение исходный текст
Ответ на Re: deduce sequence name from table and column  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-general
On Tue, Dec 20, 2005 at 10:31:46AM -0500, Tom Lane wrote:
> 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

Just what I needed,
Thanks!

--
                      -= this .sig is not funny =-

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

Предыдущее
От: Seneca Cunningham
Дата:
Сообщение: Re: out of memory during query execution
Следующее
От: Jaime Casanova
Дата:
Сообщение: Re: One DB not backed up by pg_dumpall