From: | Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com> |
---|---|
To: | "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> |
Cc: | Ashutosh Bapat <ashutosh(dot)bapat(dot)oss(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, 'vignesh C' <vignesh21(at)gmail(dot)com> |
Subject: | Re: pg_recvlogical requires -d but not described on the documentation |
Date: | 2025-03-23 17:13:42 |
Message-ID: | 29c8e85b-e28b-4ec0-aed3-5ddc54b58a36@oss.nttdata.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2025/03/21 10:12, Hayato Kuroda (Fujitsu) wrote:
> Dear Fujii-san,
>
>> Thanks for the patch! It looks good to me.
>>
>> I'm considering whether to back-patch these changes to older versions.
>> Since pg_recvlogical --drop-slot worked without --dbname in 9.4
>> but started failing unintentionally in 9.5, it could be considered a bug.
>> However, this behavior has existed for a long time without complaints or
>> bug reports, and there was no clear documentation stating that
>> --drop-slot should work without --dbname.
>>
>> Given this, I think that also we could treat it as not a bug and apply
>> the change only to the master branch. What do you think should we
>> back-patch it as a bug fix or apply it only to master?
>
> Personally considered, such a long-standing but harmless bug can be regarded as
> the specification. So, I vote that this is an enhancement and be applied only to
> master.
+1
I've updated the commit messages for both patches and also revised
the code comments in the 0002 patch. The updated patches are attached.
Unless there are any objections, I'm thinking to commit them.
Regards,
--
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
Attachment | Content-Type | Size |
---|---|---|
v4-0001-doc-Clarify-required-options-for-each-action-in-p.patch | text/plain | 3.5 KB |
v4-0002-Allow-pg_recvlogical-drop-slot-to-work-without-db.patch | text/plain | 3.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2025-03-23 17:26:35 | Re: Regression test postgres_fdw might fail due to autovacuum |
Previous Message | Andres Freund | 2025-03-23 17:13:25 | Re: Parallel heap vacuum |