Re: Selective sequence.. - Mailing list pgsql-novice

From Vijay Deval
Subject Re: Selective sequence..
Date
Msg-id 3DF6F254.4EBFC768@giaspn01.vsnl.net.in
Whole thread Raw
In response to Selective sequence..  ("Timo Tuomi" <timo.tuomi@sllpilots.fi>)
List pgsql-novice
Hi Timo

will it work if you select maxval+1 of memberid column for certain
condition, otherwise 0?

Vijay

Timo Tuomi wrote:

> when I add a member it automatically
> inserts a nextval('memberid') into the memberid field ONLY if
> member_role='a_particular_role' otherwise 0.



pgsql-novice by date:

Previous
From: Harry
Date:
Subject: Re: aggregating into 2 dimensions?
Next
From: Pam Wampler
Date:
Subject: pgmonitor and pgadmin