Minor fixes for search path cache code.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ae6bc39317f59dff5eb549e77d3f7e330e9ba075
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2024-01-02T19:57:21Z
Releases: 17.0
Minor fixes for search path cache code.

Avoid leaving a dangling pointer in the unlikely event that
nsphash_create fails.  Improve comments, and fix formatting by
adding typedefs.list entries.

Discussion: https://postgr.es/m/3972900.1704145107@sss.pgh.pa.us

Files

PathChange+/−
src/backend/catalog/namespace.c modified +21 −23
src/tools/pgindent/typedefs.list modified +3 −0

Discussion