Re: Last Committed Transaction

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: Last Committed Transaction
Дата
Msg-id 200301271832.h0RIW2015028@candle.pha.pa.us
обсуждение исходный текст
Ответ на Last Committed Transaction  (Bill Colls <bcolls@cbnlottery.com>)
Список pgsql-general
The only thing I can think of is to run CHECKPOINT then look at
pg_controldata.  Another idea is to insert into a table, then look at
that rows xmin values to see the transaction id.


---------------------------------------------------------------------------

Bill Colls wrote:
>
> Is there any way to programmatically determine the last committed
> transaction in the database. If this is possible, what information is
> available?
>
> /* =============================================================== */
>
>    William E. Colls                               Senior Programmer
>    Tel 613 225 6566 ext 320          Applications Development Group
>    Fax 613 225 6651                               CBN Lottery Group
>    bcolls@cbnlottery.com                              www.cbnco.com
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

В списке pgsql-general по дате отправления:

Предыдущее
От: Wenzhe Zhou
Дата:
Сообщение: Re: vacuum problem
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: migrating from progress dbms