Re: currval/sequence

From: Nabil Sayegh <postgresql(at)e-trolley(dot)de>
To: Jason Hihn <jhihn(at)paytimepayroll(dot)com>
Cc: cristi <cristi(at)dmhi(dot)ct(dot)ro>, pgsql-novice <pgsql-novice(at)postgresql(dot)org>
Subject: Re: currval/sequence
Date: 2003-08-15 13:41:54
Message-ID: 1060954914.21417.1.camel@billy
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Am Fre, 2003-08-15 um 15.01 schrieb Jason Hihn:

> In my code, I wrap it in a transaction for peace of mind. Tom (or anyone),
> is that necessary? If nothing else is happening on that connection between
> the insert and the select?

This is not necessary.
Everything you do with sequences will be unique to your connection.
--
e-Trolley Sayegh & John, Nabil Sayegh
Tel.: 0700 etrolley /// 0700 38765539
Fax.: +49 69 8299381-8
PGP : http://www.e-trolley.de

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Josh Berkus 2003-08-15 21:29:30 Re: using procedural languages...
Previous Message Jason Hihn 2003-08-15 13:01:57 Re: currval/sequence