Re: Auto increment/sequence on multiple columns?

From: nboutelier(at)hotmail(dot)com (Nick)
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Auto increment/sequence on multiple columns?
Date: 2004-09-12 16:16:37
Message-ID: ce0d844c.0409120816.4a250bf2@posting.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Michael Fuhr 2004-09-12 16:27:02 LOG: failed to commit transaction_isolation
Previous Message Walter Haslbeck 2004-09-12 15:48:25 Moving table from one schema to another