Hiroshi Inoue <[EMAIL PROTECTED]> writes:
> GetXmaxRecent() ignores the backend tx_old because it had been
> committed when VACUUM started and may return the xid > the
> very old xid of tx_old.
Absolutely not; things would never work if that were true.
GetXmaxRecent() returns the oldest TID that was running *when any
current transaction started*, not just VACUUM's transaction. Thus,
no transaction that could be considered live by the cursor-holding
transaction will be considered dead by VACUUM.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster
- [HACKERS] CURRENT OF cursor without OIDs Ian Lance Taylor
- Re: [HACKERS] CURRENT OF cursor without OID... Tom Lane
- Re: [HACKERS] CURRENT OF cursor without OID... Hiroshi Inoue
- Re: [HACKERS] CURRENT OF cursor without OID... Ian Lance Taylor
- Re: [HACKERS] CURRENT OF cursor without OID... Hiroshi Inoue
- Re: [HACKERS] CURRENT OF cursor without OID... Ian Lance Taylor
- Re: [HACKERS] CURRENT OF cursor without... Hiroshi Inoue
- RE: [HACKERS] CURRENT OF cursor without OID... Zeugswetter Andreas SB SD
- Re: [HACKERS] CURRENT OF cursor without... Ian Lance Taylor
- Re: [HACKERS] CURRENT OF cursor without OID... Hiroshi Inoue
- Re: [HACKERS] CURRENT OF cursor without OID... Tom Lane
- Re: [HACKERS] CURRENT OF cursor without OID... Tom Lane
- Re: [HACKERS] CURRENT OF cursor without... Hiroshi Inoue
- Re: [HACKERS] CURRENT OF cursor without OID... Hiroshi Inoue
- RE: [HACKERS] CURRENT OF cursor without OID... Zeugswetter Andreas SB SD
- Re: [HACKERS] CURRENT OF cursor without OID... Tom Lane
- Re: [HACKERS] CURRENT OF cursor without... Hiroshi Inoue
- RE: [HACKERS] CURRENT OF cursor without OID... Mikheev, Vadim
- Re: [HACKERS] CURRENT OF cursor without... Hiroshi Inoue
- Re: [HACKERS] CURRENT OF cursor without OID... Mikheev, Vadim
