| From: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
|---|---|
| To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
| Cc: | Andres Freund <andres(at)anarazel(dot)de>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Amit Kapila <akapila(at)postgresql(dot)org>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: pgsql: Prevent invalidation of newly synced replication slots. |
| Date: | 2026-01-28 15:00:45 |
| Message-ID: | CAA4eK1JTZ1OexK8g1xa3V8NPitDyJ+cW8GsWaO7rQLP8kd2_Ng@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers pgsql-hackers |
On Wed, Jan 28, 2026 at 6:28 PM Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>
> On Wed, Jan 28, 2026 at 7:35 AM Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> wrote:
> > Does this fix/theory sound plausible?
>
> I wondered about this yesterday, too. I didn't actually understand how
> the existence of the background psql could be causing the failure, but
> I thought it might be. However, I couldn't figure out the correct
> incantation to get rid of it in my testing, as I thought I would need
> to detach the injection point first or something.
>
Yeah, it would be better to quit these sessions after the test is
complete because there are other two background sessions as well. I
used the method to quit these sessions as used in
\src\test\modules\test_misc\t\005_timeouts.pl. The attached passes for
me on both Linux and Windows (check on HEAD only as of now). I'll do
some more testing on back branches as well and push tomorrow morning
if there are no more comments.
--
With Regards,
Amit Kapila.
| Attachment | Content-Type | Size |
|---|---|---|
| quit_sessions_2.patch | application/octet-stream | 1.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Andres Freund | 2026-01-28 16:53:59 | Re: pgsql: Prevent invalidation of newly synced replication slots. |
| Previous Message | Álvaro Herrera | 2026-01-28 14:23:30 | pgsql: Fix duplicate arbiter detection during REINDEX CONCURRENTLY on p |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Aditya Kamath | 2026-01-28 15:20:25 | RE: AIX support |
| Previous Message | torikoshia | 2026-01-28 14:59:20 | Re: RFC: Allow EXPLAIN to Output Page Fault Information |