Re: Auto increment/sequence on multiple columns? - Mailing list pgsql-general

From Thomas F.O'Connell
Subject Re: Auto increment/sequence on multiple columns?
Date
Msg-id 0F3BF52D-07A9-11D9-8DD7-000D93AE0944@sitening.com
Whole thread Raw
In response to Re: Auto increment/sequence on multiple columns?  (nboutelier@hotmail.com (Nick))
List 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 by date:

Previous
From: Ilia Chipitsine
Date:
Subject: pg_dump in cycle
Next
From: Michael Meskes
Date:
Subject: Re: ECPG & Mac OS X