Re: [SQL] Problem with sequence increment

2012-01-25 Thread k...@rice.edu
On Wed, Jan 25, 2012 at 09:42:05AM -0430, Francisco Calderón wrote: > Hello, > > I am having a situation with postgresql 8.3, i have two tables, ta and tb, > with a relation "one tb has many ta" and... well, i will let the SQL talk > for me ;) > > ---SQL--- > CREATE TABLE tb > ( >

Re: [SQL] Problem with sequence increment

2012-01-25 Thread Brice André
Hello, This is a normal behaviour of the sequence. In case of rollback, a sequence is never decremented. Read the note at the end of this page for more info : http://www.postgresql.org/docs/8.1/static/functions-sequence.html Regards, Brice 2012/1/25 Francisco Calderón > Hello, > > I am having

Re: [SQL] problem with sequence.....

2006-08-16 Thread Andrew Sullivan
On Wed, Aug 16, 2006 at 05:01:09PM +0530, Penchalaiah P. wrote: > If again I pass correct values to that function that values can see in > view data with increment value of sequence > > > Any one can tell me how to stop that sequence value when ever I was > passing wrong values to that function..