patch to ensure logical decoding errors early

From: Dave Cramer <davecramer(at)gmail(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: patch to ensure logical decoding errors early
Date: 2018-07-31 18:51:12
Message-ID: CADK3HHLVkeRe1v4P02-5hj55H3_yJg3AEtpXyEY5T3wuzO2jSg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

This patch does 2 things

1) Ensure that when the slot is created
with pg_create_physical_replication_slot if the output plugin does not
exist it will error.

2) Currently when the decoding context is created and the output plugin
does not exist the protocol will respond with CopyDone. This patch will
return an error instead and abort the copy connection.

Dave Cramer

Attachment Content-Type Size
0002-remove-space.patch application/octet-stream 828 bytes
0001-Ensure-that-pg_create_physical_replication_slot-erro.patch application/octet-stream 4.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabien COELHO 2018-07-31 18:54:26 Re: Usability fail with psql's \dp command
Previous Message Stephen Frost 2018-07-31 18:25:46 Re: Standby trying "restore_command" before local WAL