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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-odbc by date

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