summaryrefslogtreecommitdiff
path: root/src/backend/access/spgist/spgutils.c
diff options
context:
space:
mode:
authorMagnus Hagander <magnus@hagander.net>2018-03-18 13:08:25 +0100
committerMagnus Hagander <magnus@hagander.net>2018-03-18 13:11:58 +0100
commitaf5fbb1286cd4319db52835d4847175af9c2ed56 (patch)
treeda3ee27ac9c6c7c804bdb89ff19c48d44ae2c34b /src/backend/access/spgist/spgutils.c
parent092401b14fa19d0ea28d57ba2f73b7aee64f960d (diff)
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>
Diffstat (limited to 'src/backend/access/spgist/spgutils.c')
0 files changed, 0 insertions, 0 deletions