Re: pg_stat_get_replication_slot() marked not strict, crashes

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: vignesh C <vignesh21(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_stat_get_replication_slot() marked not strict, crashes
Date: 2022-03-28 06:34:11
Message-ID: CAA4eK1+6UcfUgETc_VSyBNE13Cc+dAapMPz_+kJKecSQ8XGAHA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Mar 28, 2022 at 10:24 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
>
> On 2022-03-27 21:09:29 -0700, Andres Freund wrote:
> > FWIW, I have a test for both, I was a bit "stuck" on where to put the
> > pg_stat_get_subscription_stats(NULL) test. I had put the
> > pg_stat_get_replication_slot(NULL) in contrib/test_decoding/sql/stats.sql
> > but pg_stat_get_subscription_stats() doesn't really fit there. I think I'm
> > coming down to putting a section of such tests into src/test/regress/sql/stats.sql
> > instead. In the hope of preventing future such occurrances by encouraging
> > people to copy the test...
>
> Pushed with tests there.
>

Thank you.

--
With Regards,
Amit Kapila.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tatsuo Ishii 2022-03-28 06:50:55 Re: [HACKERS] WIP aPatch: Pgbench Serialization and deadlock errors
Previous Message Amit Kapila 2022-03-28 06:27:59 Re: Logical replication timeout problem