OSDN Git Service

A strange message is emitted after a crash or the first time
authorTatsuhito Kasahara <kasahara.tatsuhito@gmail.com>
Mon, 24 Jan 2022 05:36:36 +0000 (14:36 +0900)
committerKyotaro Horiguchi <horikyota.ntt@gmail.com>
Mon, 24 Jan 2022 06:00:43 +0000 (15:00 +0900)
commite39004747ed81669fe52fb3ced8decf9a633efa4
treedce137b7ed0c2601bba76a463ef21029358c5e40
parentb5a6b9467835fc73a79248bd2ecac8af3cfe31bd
A strange message is emitted after a crash or the first time
pg_store_plans is loaded on a fresh database cluster.

WARNING:  1 temporary files and directories not closed at end-of-transaction

pgsp_shmem_startup forgot to close the temporary plan storeage file
when the main persistent storage file is missing.  It should be closed
before exiting the function.
pg_store_plans.c