pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: Andrey Klychkov <aaklychkov@mail.ru>
Cc: Victor Yegorov <vyegorov@gmail.com>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Subject: Re: Alter index rename concurrently to
Date: Tue, 31 Jul 2018 17:25:18 -0400
Message-ID: <10678.1533072318@sss.pgh.pa.us> (raw)
In-Reply-To: <c3d9a44c-2ca1-6726-ad03-ed9c37cc7c29@2ndquadrant.com>
References: <1531767486.432607658@f357.i.mail.ru>
	<CAGnEboiyFkmGbQFAvc+tViayyPnbJkWTd93kvmhhML+cQQ_OkA@mail.gmail.com>
	<1531828116.497549417@f411.i.mail.ru>
	<6cf6b35f-b730-60fc-bab7-82699dca59ed@2ndquadrant.com>
	<CA+TgmobtmFT5g-0dA=vEFFtogjRAuDHcYPw+qEdou5dZPnF=pg@mail.gmail.com>
	<c3d9a44c-2ca1-6726-ad03-ed9c37cc7c29@2ndquadrant.com>

Peter Eisentraut <peter.eisentraut@2ndquadrant.com> writes:
> On 27/07/2018 16:16, Robert Haas wrote:
>> I also suspect that an appropriate fix might be to ensure that
>> AcceptInvalidationMessages() is run at least once at the beginning of
>> parse analysis.

> Why don't we just do that?

Don't we do that already?  Certainly it should get run in advance of
any relation name lookup.  There is one at transaction start also,
if memory serves.

			regards, tom lane




view thread (31+ messages)  latest in thread

Message-ID: <10678.1533072318@sss.pgh.pa.us>
Permalink:  ../10678.1533072318@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/10678.1533072318@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.eisentraut@2ndquadrant.com, robertmhaas@gmail.com, aaklychkov@mail.ru, vyegorov@gmail.com
  Subject: Re: Alter index rename concurrently to
  In-Reply-To: <10678.1533072318@sss.pgh.pa.us>

* 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