Re: Accept invalidation messages before the query starts inside a transaction

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrei Lepikhov <lepihov(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Accept invalidation messages before the query starts inside a transaction
Date: 2024-09-11 19:55:10
Message-ID: 3896877.1726084510@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrei Lepikhov <lepihov(at)gmail(dot)com> writes:
> I don't know whether to classify this as a bug. The sketch of the patch
> with an example isolation test is attached.

This seems like an extremely strange place (and an extremely
brute-force way) to insert an AcceptInvalidationMessages call.
Under what circumstances wouldn't we do one or more AIMs later
on, eg while acquiring locks?

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Nathan Bossart 2024-09-11 20:36:12 Re: Pgstattuple on Sequences: Seeking Community Feedback on Potential Patch
Previous Message David E. Wheeler 2024-09-11 19:52:26 Re: Document DateStyle effect on jsonpath string()