Get TransactionID using ODBC API

Поиск
Список
Период
Сортировка
Искать

Get TransactionID using ODBC API

От:
Nik Tek <niktek2005@gmail.com>
Дата:
Hi postgres folks,

I'm looking for getting transactionID using pgsqlODBC APIs. Is there a way, I goggled but not much of help.

I know in pg/sql, I can use txid_current()

--
Thank you
NikTeki

Re: Get TransactionID using ODBC API

От:
Heikki Linnakangas <hlinnaka@iki.fi>
Дата:


On 13 October 2016 01:28:28 EEST, Nik Tek  wrote:
>I'm looking for getting transactionID using pgsqlODBC APIs. Is there a
>way,
>I goggled but not much of help.
>
>I know in pg/sql, I can use txid_current()

There's no special API for that in the driver, but you can run a query: "select txid_current()".

- Heikki


FAQ