From: Bruno Wolff III <bruno@wolff.to>
To: Josh Goldberg <josh@4dmatrix.com>
Cc: pgsql-admin@postgresql.org, Michael Kovalcik <makd32@yahoo.com>
Subject: Re: How do I select the last Id in a column???
Date: Thu, 26 Jun 2003 20:10:31 -0500
Message-ID: <20030627011031.GA11891@wolff.to> (raw)
In-Reply-To: <024f01c33c45$83830e40$6e02a8c0@4dmatrix.com>
References: <20030623184706.75021.qmail@web11101.mail.yahoo.com>
<01f401c33c25$fbffd5d0$6e02a8c0@4dmatrix.com>
<3EFB6788.21DE9637@dhs-club.com>
<024f01c33c45$83830e40$6e02a8c0@4dmatrix.com>
On Thu, Jun 26, 2003 at 17:46:14 -0700,
Josh Goldberg <josh@4dmatrix.com> wrote:
> From what Bruno enlightened us to about read commit mode, it seems this is
> the only safe way to go.
>
> Wouldn't currval (as presented by others) be affected in the same manner as
> my example?
No because currval returns the last value used in the current session.
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: bruno@wolff.to, josh@4dmatrix.com, makd32@yahoo.com
Subject: Re: How do I select the last Id in a column???
In-Reply-To: <20030627011031.GA11891@wolff.to>
References: <20030623184706.75021.qmail@web11101.mail.yahoo.com> <01f401c33c25$fbffd5d0$6e02a8c0@4dmatrix.com> <3EFB6788.21DE9637@dhs-club.com> <024f01c33c45$83830e40$6e02a8c0@4dmatrix.com> <20030627011031.GA11891@wolff.to>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox