ossc-db / pg_store_plans

Store execution plans like pg_stat_statements does for queries.
http://ossc-db.github.io/pg_store_plans/
Other
53 stars 26 forks source link

Fix to FreeFile() properly when there is no dump file at pgsp_shmem_startup() #24

Closed kasaharatt closed 2 years ago

kasaharatt commented 2 years ago

If there is no dump file such as the first time, the ENOENT error is acceptable, but it was necessary to FreeFile(pfile) before return. This was causing a strange WARNING message.