pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Jack Flak <jack@flak.nospam.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: restore/dup OIDs HELP!
Date: Fri, 10 Jan 2003 21:53:42 -0800 (PST)
Message-ID: <20030110213823.W17716-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <xlaT9.1566$Ca7.147782856@newssvr13.news.prodigy.com>


On Thu, 9 Jan 2003, Jack Flak wrote:

> Stephan,
>
> That's very interesting!  I didn't even know about these other "hidden"
> fields.  How many others are there?

Let's see, I think the set is
ctid, oid, xmin, cmin, xmax, cmax, tableoid

IIRC,
 ctid is basically like a physical pointer to where the row actually is
 oid you know
 xmin - transaction that made the row
 cmin - command counter in that transaction that made the row
 xmax, cmax - like xmin, cmin but for the transaction that removes it
 tableoid - which table it belongs to (for inheritance)

Cmin and xmax share storage, and it looks like xmin/xmax are of a type
that you can't actually do much with from an SQL statement.





view thread (9+ messages)  latest in thread

Message-ID: <20030110213823.W17716-100000@megazone23.bigpanda.com>
Permalink:  ../20030110213823.W17716-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20030110213823.W17716-100000@megazone23.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, jack@flak.nospam.org
  Subject: Re: restore/dup OIDs HELP!
  In-Reply-To: <20030110213823.W17716-100000@megazone23.bigpanda.com>
  References: <xlaT9.1566$Ca7.147782856@newssvr13.news.prodigy.com> <20030110213823.W17716-100000@megazone23.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox