Re: existing row not found by SELECT ... WHERE CTID = ? - Mailing list pgsql-general

From Ravi Krishna
Subject Re: existing row not found by SELECT ... WHERE CTID = ?
Date
Msg-id cfd26d7f4d955e450c351b9bc7ddeb07@vivaldi.net
Whole thread Raw
In response to Re: existing row not found by SELECT ... WHERE CTID = ?  (Laurenz Albe <laurenz.albe@cybertec.at>)
Responses Re: existing row not found by SELECT ... WHERE CTID = ?
List pgsql-general
> No.  PostgreSQL may remove a dead row, but a dead row is by definition
> no longer visible, so it wouldn't be found by a query.

I am wondering whether it is a good practice to use CTID in a where 
clause.  years ago when I use to code in Informix, using ROWID as a 
generic substitute for primary key was discouraged precisely for the 
same reason as described here for CTID. Sometimes rowid can change under 
concurrent updates.



pgsql-general by date:

Previous
From: Carsten Klein
Date:
Subject: Connect to specific cluster on command line
Next
From: Tom Lane
Date:
Subject: Re: Connect to specific cluster on command line