pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix pg_recvlogical for pre-10 versions
5+ messages / 1 participants
[nested] [flat]

* pgsql: Fix pg_recvlogical for pre-10 versions
@ 2018-03-18 12:13  Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Magnus Hagander @ 2018-03-18 12:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix pg_recvlogical for pre-10 versions

In e170b8c8, protection against modified search_path was added. However,
PostgreSQL versions prior to 10 does not accept SQL commands over a
replication connection, so the protection would generate a syntax error.

Since we cannot run SQL commands on it, we are also not vulnerable to
the issue that e170b8c8 fixes, so we can just skip this command for
older versions.

Author: Michael Paquier <michael@paquier.xyz>

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/8d2814f274def85f39fbe997d454b01628cb5667

Modified Files
--------------
src/bin/pg_basebackup/streamutil.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix pg_recvlogical for pre-10 versions
@ 2018-03-18 12:13  Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Magnus Hagander @ 2018-03-18 12:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix pg_recvlogical for pre-10 versions

In e170b8c8, protection against modified search_path was added. However,
PostgreSQL versions prior to 10 does not accept SQL commands over a
replication connection, so the protection would generate a syntax error.

Since we cannot run SQL commands on it, we are also not vulnerable to
the issue that e170b8c8 fixes, so we can just skip this command for
older versions.

Author: Michael Paquier <michael@paquier.xyz>

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/59743deca9a19126ad711874b05c88ab6a59fc47

Modified Files
--------------
src/bin/pg_basebackup/streamutil.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix pg_recvlogical for pre-10 versions
@ 2018-03-18 12:13  Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Magnus Hagander @ 2018-03-18 12:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix pg_recvlogical for pre-10 versions

In e170b8c8, protection against modified search_path was added. However,
PostgreSQL versions prior to 10 does not accept SQL commands over a
replication connection, so the protection would generate a syntax error.

Since we cannot run SQL commands on it, we are also not vulnerable to
the issue that e170b8c8 fixes, so we can just skip this command for
older versions.

Author: Michael Paquier <michael@paquier.xyz>

Branch
------
REL9_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/af5fbb1286cd4319db52835d4847175af9c2ed56

Modified Files
--------------
src/bin/pg_basebackup/streamutil.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix pg_recvlogical for pre-10 versions
@ 2018-03-18 12:13  Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Magnus Hagander @ 2018-03-18 12:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix pg_recvlogical for pre-10 versions

In e170b8c8, protection against modified search_path was added. However,
PostgreSQL versions prior to 10 does not accept SQL commands over a
replication connection, so the protection would generate a syntax error.

Since we cannot run SQL commands on it, we are also not vulnerable to
the issue that e170b8c8 fixes, so we can just skip this command for
older versions.

Author: Michael Paquier <michael@paquier.xyz>

Branch
------
REL9_5_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/24ff0fe87755c76a14332a03a08b62b85c9bc91d

Modified Files
--------------
src/bin/pg_basebackup/streamutil.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread

* pgsql: Fix pg_recvlogical for pre-10 versions
@ 2018-03-18 12:13  Magnus Hagander <magnus@hagander.net>
  0 siblings, 0 replies; 5+ messages in thread

From: Magnus Hagander @ 2018-03-18 12:13 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

Fix pg_recvlogical for pre-10 versions

In e170b8c8, protection against modified search_path was added. However,
PostgreSQL versions prior to 10 does not accept SQL commands over a
replication connection, so the protection would generate a syntax error.

Since we cannot run SQL commands on it, we are also not vulnerable to
the issue that e170b8c8 fixes, so we can just skip this command for
older versions.

Author: Michael Paquier <michael@paquier.xyz>

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/e7d3a37d9936f725807b4d5cdf471123a4805ef1

Modified Files
--------------
src/bin/pg_basebackup/streamutil.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)



^ permalink  raw  reply  [nested|flat] 5+ messages in thread


end of thread, other threads:[~2018-03-18 12:13 UTC | newest]

Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2018-03-18 12:13 pgsql: Fix pg_recvlogical for pre-10 versions Magnus Hagander <magnus@hagander.net>
2018-03-18 12:13 pgsql: Fix pg_recvlogical for pre-10 versions Magnus Hagander <magnus@hagander.net>
2018-03-18 12:13 pgsql: Fix pg_recvlogical for pre-10 versions Magnus Hagander <magnus@hagander.net>
2018-03-18 12:13 pgsql: Fix pg_recvlogical for pre-10 versions Magnus Hagander <magnus@hagander.net>
2018-03-18 12:13 pgsql: Fix pg_recvlogical for pre-10 versions Magnus Hagander <magnus@hagander.net>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox