Skip site navigation (1) Skip section navigation (2)

[RFC] extended txid docs

From: "Marko Kreen" <markokr(at)gmail(dot)com>
To: "Postgres Hackers" <pgsql-hackers(at)postgresql(dot)org>, "Postgres Patches" <pgsql-patches(at)postgresql(dot)org>
Subject: [RFC] extended txid docs
Date: 2007-10-16 15:29:34
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackerspgsql-patches
Although the new txid functions are very clean 1:1 interface
to the internal MVCC info and they don't need much docs
in that respect, their "killer" usage comes from the
possibility to query txids committed between 2 snapshots.

But how to do that (efficiently) is far from obvious when
just looking at the API.

So with attached docs patch I try to fill the gap.  Here I
also show 2 variants for the common query helper function.

But I'm pretty bad at SGML, english and writing docs, so
please review it.  In addition to english/typos/sgml
the suspicious aspects are:

- code style
- writing style
- used mostly PgQ terminology (ticks), could there be
  something better?
- giving two variants of helper function may be too much

Even the realistic code may be too much for general docs,
but considering this is not a functionality covered
by general SQL textbooks, I think it is worth having.

I also put rendered pages up here:


Attachment: txid-docs.diff.gz
Description: application/x-gzip (3.5 KB)


pgsql-hackers by date

Next:From: Zdenek KotalaDate: 2007-10-16 15:41:56
Subject: Indiana changes DST (4th Nov)
Previous:From: Tom LaneDate: 2007-10-16 14:05:27
Subject: Re: pgsql: Add sample text search dictionary templates and parsers, to

pgsql-patches by date

Next:From: Chris BrowneDate: 2007-10-16 20:24:30
Subject: Re: [RFC] extended txid docs
Previous:From: Heikki LinnakangasDate: 2007-10-16 10:51:17
Subject: Re: Why copy_relation_data only use wal when WAL archiving is enabled

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group