Received: from localhost (maia-4.hub.org [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id CB9CB9FB317 for ; Mon, 29 Jan 2007 13:12:15 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-new, port 10024) with ESMTP id 40423-09 for ; Mon, 29 Jan 2007 13:12:12 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.4 Received: from developer.pgadmin.org (developer.pgadmin.org [63.246.23.140]) by postgresql.org (Postfix) with ESMTP id D57379FB1DA for ; Mon, 29 Jan 2007 13:00:12 -0400 (AST) Received: from [172.24.32.57] ([62.232.55.118]) (authenticated bits=0) by developer.pgadmin.org (8.13.8/8.13.8) with ESMTP id l0TGc4ws027839 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 29 Jan 2007 16:38:07 GMT Message-ID: <45BE2814.2000409@postgresql.org> Date: Mon, 29 Jan 2007 17:00:04 +0000 From: Dave Page User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) MIME-Version: 1.0 To: Tom Lane CC: pgsql-odbc@postgresql.org, inoue@tpf.co.jp Subject: Re: Updatable cursors - applications? References: <45BDCD60.7010208@postgresql.org> <10547.1170084079@sss.pgh.pa.us> <45BE192F.8000707@postgresql.org> <10946.1170086781@sss.pgh.pa.us> In-Reply-To: <10946.1170086781@sss.pgh.pa.us> X-Enigmail-Version: 0.94.1.2 OpenPGP: url=http://www.pgadmin.org/pgp/davepage.pgp Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200701/76 X-Sequence-Number: 8615 Tom Lane wrote: > Dave Page writes: >> I don't believe any reasonable client code would have reason to use >> CTIDs though, with the exception of something like the ODBC or JDBC >> drivers. > > But that's exactly the use-case --- in fact, we've even got a fair > amount of backend code to make "SELECT ... WHERE ctid = something" fast. > We're not going to decide that that need not work anymore. No-one's suggesting stopping them working, just a change of format - any place within the backend that did that would naturally be updated as part of the submitted patch. What we're talking about is a system column that is unlikely to be used in any client apps other than low level drivers. I don't see that that is any different from the recent refactoring of the operator related catalogs - apps that read them will need to be updated as well. The purpose of this thread is simply to ascertain if anyone has any good test cases for the only use of ctid's outside the backend that anyone seems to be aware of. Regards, Dave