Search Postgresql Archives

Re: existing row not found by SELECT ... WHERE CTID = ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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.





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux