pg_recvlogical cannot create slots with failover=true

From: "Hayato Kuroda (Fujitsu)" <kuroda(dot)hayato(at)fujitsu(dot)com>
To: "'pgsql-hackers(at)lists(dot)postgresql(dot)org'" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: pg_recvlogical cannot create slots with failover=true
Date: 2025-04-01 08:01:32
Message-ID: OSCPR01MB14966C54097FC83AF19F3516BF5AC2@OSCPR01MB14966.jpnprd01.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Dear hackers,

While reviewing threads I found $SUBJECT.

I think it does not affect to output, but I could not find strong reasons not to
support it. Also, this can be used for testing purpose, i.e., DBAs can verify the
slot-sync can work on their system by only using pg_recvlogical.

Attached patch implements it. Since -f/-F option has already been used, -O was
chosen for the short-version. Better idea is very welcomed.

How do you feel?

Best regards,
Hayato Kuroda
FUJITSU LIMITED

Attachment Content-Type Size
0001-Allow-pg_recvlogical-to-create-slots-with-failover-t.patch application/octet-stream 8.5 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2025-04-01 08:01:54 Re: Reducing memory consumed by RestrictInfo list translations in partitionwise join planning
Previous Message Ilia Evdokimov 2025-04-01 07:52:52 Re: Add estimated hit ratio to Memoize in EXPLAIN to explain cost adjustment