Re: currval() within one statement

From: sad <sad(at)bankir(dot)ru>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: currval() within one statement
Date: 2008-01-22 07:54:58
Message-ID: 4795A152.3080400@bankir.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

A. Kretschmer wrote:

>> is it expected that the currval() changes its value between calls within
>> one statement ?

> Conclusion, don't call nextval() within a TRIGGER, and insert either
> nextval() for the column or omit this column.

I only note that i still want to discuss the titled problem or to be
given an exact pointer to documentation regarding the currval() behavior
in the described situation, that i had.

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Stuart Brooks 2008-01-22 08:05:04 TIMESTAMP comparison problem
Previous Message A. Kretschmer 2008-01-22 07:36:37 Re: currval() within one statement