Re: pg_get_serial_sequence and table inheritence

Поиск
Список
Период
Сортировка
От Rafa Couto
Тема Re: pg_get_serial_sequence and table inheritence
Дата
Msg-id 22df564b05053107367b31ea95@mail.gmail.com
обсуждение исходный текст
Ответ на pg_get_serial_sequence and table inheritence  (Timothy Perrigo <tperrigo@wernervas.com>)
Список pgsql-general
2005/5/31, Timothy Perrigo <tperrigo@wernervas.com>:

> I'd like to be able to call pg_get_serial_sequence passing "derived"
> for the table and "id" for the sequence column (to get, in this case
> "base_id_seq").  If nothing like this currently exists, any
> suggestions on how I could write a plpgsql function to get this
> behavior?

  You have one sequence for every serial field in sequences (from psql: "\ds").


--
Rafa Couto (caligari)
mailto:rafacouto@gmail.com

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

Предыдущее
От: David Pradier
Дата:
Сообщение: Re: How to add an INHERITS to an already populated table
Следующее
От: dave
Дата:
Сообщение: Re: enable_sort optimization problem