X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 0074EDA789 for ; Mon, 21 Nov 2005 21:35:31 -0400 (AST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 33316-06 for ; Tue, 22 Nov 2005 01:35:34 +0000 (GMT) X-Greylist: delayed 04:34:23.621753 by SQLgrey- Received: from ll.mit.edu (LLMAIL.LL.MIT.EDU [129.55.12.40]) by svr1.postgresql.org (Postfix) with ESMTP id 5DDA6DA7ED for ; Mon, 21 Nov 2005 21:35:28 -0400 (AST) Received: (from smtp@localhost) by ll.mit.edu (8.12.10/8.8.8) id jAM1ZWQw028354 for ; Mon, 21 Nov 2005 20:35:32 -0500 (EST) Received: from UNKNOWN( ), claiming to be "sty.llan" via SMTP by llmail, id smtpdAAA2jaGq3; Mon Nov 21 20:35:27 2005 Date: Mon, 21 Nov 2005 20:35:27 -0500 From: george young To: pgsql-sql@postgresql.org Subject: Re: tid_le comparison for tuple id (ctid) values? Message-Id: <20051121203527.5378122b.gry@ll.mit.edu> In-Reply-To: <4271.1132607968@sss.pgh.pa.us> References: <20051121160016.282c66c2.gry@ll.mit.edu> <4271.1132607968@sss.pgh.pa.us> Reply-To: gry@ll.mit.edu Organization: MIT Lincoln Laboratory X-Mailer: Sylpheed version 2.0.1 (GTK+ 2.8.0; i686-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.001 required=5 tests=[UNPARSEABLE_RELAY=0.001] X-Spam-Score: 0.001 X-Spam-Level: X-Archive-Number: 200511/185 X-Sequence-Number: 23436 On Mon, 21 Nov 2005 16:19:28 -0500 Tom Lane threw this fish to the penguins: > george young writes: > > update steps set x=x||'X' from steps s where steps.key1=s.key1 and steps.key2=s.key2 and step.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. Well, I don't have any need for it to correlate with the age of the tuple. My use of step.ctid