summaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorHeikki Linnakangas2014-11-28 07:23:41 +0000
committerHeikki Linnakangas2014-11-28 07:31:53 +0000
commitafeacd274830d1e3d15ffc4e4d4b08a887f76abb (patch)
tree056d8a799e7ad9f5ed9fb32b75a00dddb496ca79 /contrib/postgres_fdw/postgres_fdw.c
parenta5eb85eb6266c99f79144201f1162e5106969575 (diff)
Fix assertion failure at end of PITR.
InitXLogInsert() cannot be called in a critical section, because it allocates memory. But CreateCheckPoint() did that, when called for the end-of-recovery checkpoint by the startup process. In the passing, fix the scratch space allocation in InitXLogInsert to go to the right memory context. Also update the comment at InitXLOGAccess, which hasn't been totally accurate since hot standby was introduced (in a hot standby backend, InitXLOGAccess isn't called at backend startup). Reported by Michael Paquier
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions