=?iso-8859-1?Q?Daniel_=C5kerud?= <zilch@home.se> writes:
> If I do
> BEGIN
> UPDATE some_session set time_stop =3D CURRENT_TIMESTAMP
> UPDATE another_session set time_start =3D CURRENT_TIMESTAMP
> END
> Is there any chance the current_timestamp will be different?
No. CURRENT_TIMESTAMP is actually the time of the start of the
transaction.
regards, tom lane