[PATCH] minor bugfix for pg_basebackup (9.6 ~ )

From: Ian Barwick <ian(dot)barwick(at)2ndquadrant(dot)com>
To: Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: [PATCH] minor bugfix for pg_basebackup (9.6 ~ )
Date: 2019-07-19 08:08:39
Message-ID: CABvVfJWNnNKb8cHsTLhkTsvL1+G6BVcV+57+w1JZ61p8YGPdWQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi

In pg_basebackup's GenerateRecoveryConf() function, the value for
"primary_slot_name" is escaped, but the original, non-escaped value
is written. See attached patch.

This has been present since the code was added in 9.6 (commit 0dc848b0314).

Regards

Ian Barwick

--
Ian Barwick https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Attachment Content-Type Size
pg_basebackup-generate-recovery-conf.v1.patch application/octet-stream 697 bytes

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message r.zharkov 2019-07-19 08:24:25 Re: Intermittent pg_ctl failures on Windows
Previous Message Peifeng Qiu 2019-07-19 07:39:49 Re: Compile from source using latest Microsoft Windows SDK