aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execUtils.c
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2017-04-19 02:16:34 +0900
committerFujii Masao <fujii@postgresql.org>2017-04-19 02:16:34 +0900
commit280c53ecfbcad442c4b5eaab4cc3e65408f486eb (patch)
tree699f552da0add70fd9e89b46cef1f2e83d55fea6 /src/backend/executor/execUtils.c
parent39a6772d04940b994acd9a3fd954cacdc2f88b26 (diff)
downloadpostgresql-280c53ecfbcad442c4b5eaab4cc3e65408f486eb.tar.gz
postgresql-280c53ecfbcad442c4b5eaab4cc3e65408f486eb.zip
A collection of small fixes for logical replication.
* Be sure to reset the launcher's pid (LogicalRepCtx->launcher_pid) to 0 even when the launcher emits an error. * Declare ApplyLauncherWakeup() as a static function because it's called only in launcher.c. * Previously IsBackendPId() was used to check whether the launcher's pid was valid. IsBackendPid() was necessary because there was the bug where the launcher's pid was not reset to 0. But now it's fixed, so IsBackendPid() is not necessary and this patch removes it. Author: Masahiko Sawada Reviewed-by: Kyotaro Horiguchi Reported-by: Fujii Masao Discussion: http://postgr.es/m/CAHGQGwFDWh_Qr-q_GEMpD+qH=vYPMdVqw=ZOSY3kX_Pna9R9SA@mail.gmail.com
Diffstat (limited to 'src/backend/executor/execUtils.c')
0 files changed, 0 insertions, 0 deletions