pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: gry@ll.mit.edu
Cc: pgsql-sql@postgresql.org
Subject: Re: tid_le comparison for tuple id (ctid) values?
Date: Mon, 21 Nov 2005 16:19:28 -0500
Message-ID: <4271.1132607968@sss.pgh.pa.us> (raw)
In-Reply-To: <20051121160016.282c66c2.gry@ll.mit.edu>
References: <20051121160016.282c66c2.gry@ll.mit.edu>

george young <gry@ll.mit.edu> writes:
>    update steps set x=x||'X' from steps s where steps.key1=s.key1 and steps.key2=s.key2 and step.ctid<s.ctid;

> But this fails because there is no less-than operator (or function) on
> type "tid".

Probably a good thing, too, since if there was it wouldn't have anything
reliable to do with the age of the tuple.

			regards, tom lane



view thread (5+ messages)  latest in thread

Message-ID: <4271.1132607968@sss.pgh.pa.us>
Permalink:  ../4271.1132607968@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/4271.1132607968@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: tgl@sss.pgh.pa.us, gry@ll.mit.edu
  Subject: Re: tid_le comparison for tuple id (ctid) values?
  In-Reply-To: <4271.1132607968@sss.pgh.pa.us>

* 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