Skip site navigation (1) Skip section navigation (2)

Re: Last inserted id

From: "Simeo Reig" <simreig(at)terra(dot)es>
To: <pgsql-odbc(at)postgresql(dot)org>
Subject: Re: Last inserted id
Date: 2001-11-12 20:43:02
Message-ID: 007a01c16bba$9f6d8b10$0a00a8c0@win2000 (view raw or flat)
Thread:
Lists: pgsql-odbc
> False.  Option B is multi-user safe, period.  The reason is that currval
> returns the value last obtained by nextval *in your own session*,
> independently of what anyone else has done meanwhile.

What do you understand for *session* ? Same postgres connection ? Same ADO
connection ? (ADO sometimes make more than one connection for recordset)

How Can I know how many connections are active ?
(for ADO debugging)

Thanks
SimeĆ³ Reig


In response to

Responses

pgsql-odbc by date

Next:From: Tom LaneDate: 2001-11-12 21:31:52
Subject: Re: Last inserted id
Previous:From: Peter EisentrautDate: 2001-11-12 19:24:50
Subject: Re: [ODBC] MD5 support for ODBC

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group