On Fri, Jun 6, 2014 at 3:44 PM, Tom Lane <t...@sss.pgh.pa.us> wrote: > It did not use to blow this question off: back around 8.3 you got > DELETE_IN_PROGRESS if the tuple had a delete pending. I think we need > less laziness + fuzzy thinking here. Maybe we should have a separate > HEAPTUPLE_INSERT_AND_DELETE_IN_PROGRESS result code? Is it *really* > the case that callers other than VACUUM itself are okay with failing > to make this distinction?
I think that would be a good idea for conceptual clarity if nothing else. If callers are OK with it, then they can treat both of those codes alike; but then at least there's clear evidence as to the author's intent. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers