pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dave Page <dpage@postgresql.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-odbc@postgresql.org
Cc: inoue@tpf.co.jp
Subject: Re: Updatable cursors - applications?
Date: Mon, 29 Jan 2007 17:00:04 +0000
Message-ID: <45BE2814.2000409@postgresql.org> (raw)
In-Reply-To: <10946.1170086781@sss.pgh.pa.us>
References: <45BDCD60.7010208@postgresql.org>
	<10547.1170084079@sss.pgh.pa.us>
	<45BE192F.8000707@postgresql.org>
	<10946.1170086781@sss.pgh.pa.us>

Tom Lane wrote:
> Dave Page <dpage@postgresql.org> 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






view thread (7+ messages)  latest in thread

Message-ID: <45BE2814.2000409@postgresql.org>
Permalink:  ../45BE2814.2000409@postgresql.org/
Also on:    postgresql.org/message-id/45BE2814.2000409@postgresql.org

 · 

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-odbc@postgresql.org
  Cc: dpage@postgresql.org, tgl@sss.pgh.pa.us, inoue@tpf.co.jp
  Subject: Re: Updatable cursors - applications?
  In-Reply-To: <45BE2814.2000409@postgresql.org>
  References: <45BDCD60.7010208@postgresql.org> <10547.1170084079@sss.pgh.pa.us> <45BE192F.8000707@postgresql.org> <10946.1170086781@sss.pgh.pa.us> <45BE2814.2000409@postgresql.org>

* 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