Rename OverrideSearchPath to SearchPathMatcher.
Noah Misch <noah@leadboat.com>
Rename OverrideSearchPath to SearchPathMatcher. The previous commit removed the "override" APIs. Surviving APIs facilitate plancache.c to snapshot search_path and test whether the current value equals a remembered snapshot. Aleksander Alekseev. Reported by Alexander Lakhin and Noah Misch. Discussion: https://postgr.es/m/8ffb4650-52c4-6a81-38fc-8f99be981130@gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/namespace.c | modified | +12 −12 |
| src/backend/utils/cache/plancache.c | modified | +6 −6 |
| src/include/catalog/namespace.h | modified | +6 −6 |
| src/include/utils/plancache.h | modified | +1 −1 |
| src/tools/pgindent/typedefs.list | modified | +1 −1 |
Discussion
- Getting rid of OverrideSearhPath in namespace.c 3 messages · 2023-07-16 → 2023-08-01