postgres/src/backend/utils/cache
Álvaro Herrera 325fc0ab14
Avoid including commands/dbcommands.h in so many places
This has been done historically because of get_database_name (which
since commit cb98e6fb8f belongs in lsyscache.c/h, so let's move it
there) and get_database_oid (which is in the right place, but whose
declaration should appear in pg_database.h rather than dbcommands.h).
Clean this up.

Also, xlogreader.h and stringinfo.h are no longer needed by dbcommands.h
since commit f1fd515b39, so remove them.

Author: Álvaro Herrera <alvherre@kurilemu.de>
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Reviewed-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/202508191031.5ipojyuaswzt@alvherre.pgsql
2025-08-28 12:39:04 +02:00
..
attoptcache.c Add missing Datum conversions 2025-08-08 22:06:57 +02:00
catcache.c Fix various hash function uses 2025-08-05 11:47:23 +02:00
evtcache.c Fix assorted pretty-trivial memory leaks in the backend. 2025-08-02 21:59:46 -04:00
funccache.c Fix memory leakage when function compilation fails. 2025-05-28 13:29:45 -04:00
inval.c Add support for runtime arguments in injection points 2025-05-10 06:56:26 +09:00
lsyscache.c Avoid including commands/dbcommands.h in so many places 2025-08-28 12:39:04 +02:00
Makefile Change SQL-language functions to use the plan cache. 2025-04-02 14:06:02 -04:00
meson.build Change SQL-language functions to use the plan cache. 2025-04-02 14:06:02 -04:00
partcache.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
plancache.c Silence complaints about leaks in PlanCacheComputeResultDesc. 2025-08-02 21:59:46 -04:00
relcache.c Add missing Datum conversions 2025-08-08 22:06:57 +02:00
relfilenumbermap.c Ignore temporary relations in RelidByRelfilenumber() 2025-08-22 09:03:59 +09:00
relmapper.c Remove various unnecessary (char *) casts 2025-02-20 19:49:27 +01:00
spccache.c Update copyright for 2025 2025-01-01 11:21:55 -05:00
syscache.c Add missing Datum conversions 2025-08-08 22:06:57 +02:00
ts_cache.c Suppress complaints about leaks in TS dictionary loading. 2025-08-02 21:59:46 -04:00
typcache.c Fix assorted pretty-trivial memory leaks in the backend. 2025-08-02 21:59:46 -04:00