Re: CURRENT OF cursor without OIDs

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Hiroshi Inoue <Inoue@tpf.co.jp>
Cc: Ian Lance Taylor <ian@airs.com>, pgsql-hackers@postgresql.org
Date: 2001-08-09T02:59:45Z
Lists: pgsql-hackers
Hiroshi Inoue <Inoue@tpf.co.jp> writes:
> Hmm is there any place setting proc->xmin other than
> the following ?

> [in storage/ipc/sinval.c]
>        if (serializable)
>                MyProc->xmin = snapshot->xmin;

AFAICT that's the only place that sets it.  It's cleared to zero during
transaction commit or abort in xact.c.

			regards, tom lane