Re: Auto increment/sequence on multiple columns?

Поиск
Список
Период
Сортировка
От Thomas F.O'Connell
Тема Re: Auto increment/sequence on multiple columns?
Дата
Msg-id 0F3BF52D-07A9-11D9-8DD7-000D93AE0944@sitening.com
обсуждение исходный текст
Ответ на Re: Auto increment/sequence on multiple columns?  (nboutelier@hotmail.com (Nick))
Список pgsql-general
You'll probably need a sequence per thread. A sequence is not
necessarily tied to a column.

-tfo

On Sep 12, 2004, at 11:16 AM, Nick wrote:

> This is actually a table that holds message threads for message
> boards. Column A is really 'message_board_id' and column B is
> 'thread_id'. I would like every new thread for a message board to have
> a 'thread_id' of 1 and increment from there on. -Nick


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

Предыдущее
От: Ilia Chipitsine
Дата:
Сообщение: pg_dump in cycle
Следующее
От: Michael Meskes
Дата:
Сообщение: Re: ECPG & Mac OS X