Re: wake up logical workers after ALTER SUBSCRIPTION

From: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
To: nathandbossart(at)gmail(dot)com
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, houzj(dot)fnst(at)fujitsu(dot)com, amit(dot)kapila16(at)gmail(dot)com, m(dot)melihmutlu(at)gmail(dot)com, thomas(dot)munro(at)gmail(dot)com, kuroda(dot)hayato(at)fujitsu(dot)com, pgsql-hackers(at)postgresql(dot)org
Subject: Re: wake up logical workers after ALTER SUBSCRIPTION
Date: 2023-01-25 07:12:00
Message-ID: 20230125.161200.735003108705492225.horikyota.ntt@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At Tue, 24 Jan 2023 10:42:17 -0800, Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote in
> On Tue, Jan 24, 2023 at 01:13:55PM -0500, Tom Lane wrote:
> > Either that comment needs to be rewritten or we need to invent some
> > more macros.
>
> Here is a first attempt at a patch. I scanned through all the existing
> uses of InvalidDsaPointer and DSM_HANDLE_INVALID and didn't notice anything
> else that needed adjusting.

There seems to be two cases for DSA_HANDLE_INVALID in dsa_get_handle
and dsa_attach_in_place, one of which is Assert(), though.

regards.

--
Kyotaro Horiguchi
NTT Open Source Software Center

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2023-01-25 07:34:21 Re: recovery modules
Previous Message Amit Kapila 2023-01-25 07:00:19 Re: Time delayed LR (WAS Re: logical replication restrictions)