Re: Last inserted id - Mailing list pgsql-odbc

From Simeo Reig
Subject Re: Last inserted id
Date
Msg-id 007a01c16bba$9f6d8b10$0a00a8c0@win2000
Whole thread Raw
In response to Re: Last inserted id  (Dave Page <dpage@vale-housing.co.uk>)
Responses Re: Last inserted id
List 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


pgsql-odbc by date:

Previous
From: Dave Page
Date:
Subject: Re: Last inserted id
Next
From: Tom Lane
Date:
Subject: Re: Last inserted id