postgresql/src
Fujii Masao 1d04a59be3 Make walsender always initialize the buffers.
Walsender uses the local buffers for each outgoing and incoming message.
Previously when creating replication slot, walsender forgot to initialize
one of them and which can cause the segmentation fault error. To fix this
issue, this commit changes walsender so that it always initialize them
before it executes the requested replication command.

Back-patch to 9.4 where replication slot was introduced.

Problem report and initial patch by Stas Kelvich, modified by me.
Report: https://www.postgresql.org/message-id/A1E9CB90-1FAC-4CAD-8DBA-9AA62A6E97C5@postgrespro.ru
2017-02-22 03:11:58 +09:00
..
backend Make walsender always initialize the buffers. 2017-02-22 03:11:58 +09:00
bin Suppress "unused variable" warnings with older versions of flex. 2017-02-19 13:04:30 -05:00
common Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
fe_utils Suppress "unused variable" warnings with older versions of flex. 2017-02-19 13:04:30 -05:00
include Add optimizer and executor support for parallel index-only scans. 2017-02-19 15:57:55 +05:30
interfaces Make src/interfaces/libpq/test clean up after itself. 2017-02-19 17:18:10 -05:00
makefiles Try to fix non-MSVC Windows builds in the wake of logical replication. 2017-01-20 12:51:31 -05:00
pl Make more use of castNode() 2017-02-21 11:59:09 -05:00
port Attempt to handle pending-delete files on Windows 2017-01-04 10:48:30 +01:00
template Remove "sco" and "unixware" ports. 2016-10-11 11:26:04 -04:00
test Use less-generic table name in new regression test case. 2017-02-21 12:18:30 -05:00
timezone Update time zone data files to tzdata release 2016j. 2017-01-30 11:40:22 -05:00
tools Dept of second thoughts: rename new perl script. 2017-02-19 16:41:51 -05:00
tutorial Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
.gitignore
DEVELOPERS
Makefile Remove redundant coverage target 2017-02-17 08:56:57 -05:00
Makefile.global.in Dept of second thoughts: rename new perl script. 2017-02-19 16:41:51 -05:00
Makefile.shlib Fix typos in comments. 2017-02-06 11:33:58 +02:00
bcc32.mak
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00
win32.mak