Move code specific to pg_dependencies to new file
authorMichael Paquier <michael@paquier.xyz>
Wed, 12 Nov 2025 07:53:19 +0000 (16:53 +0900)
committerMichael Paquier <michael@paquier.xyz>
Wed, 12 Nov 2025 07:53:19 +0000 (16:53 +0900)
commit2ddc8d9e9baae28ba63a9f1c85f0a36deb9112aa
treeb01100cb3bd0ff2e68478c0c3290ec43f2277b25
parenta5523123430f39ba26a0d0250fbe10a396ab0703
Move code specific to pg_dependencies to new file

This new file is named pg_dependencies.c and includes all the code
directly related to the data type pg_dependencies, extracted from the
extended statistics code.

Some patches are under discussion to change its input and output
functions, and this separation makes the follow-up changes cleaner by
separating the logic related to the data type and the functional
dependencies statistics core logic in dependencies.c.

Author: Corey Huinker <corey.huinker@gmail.com>
Co-authored-by: Michael Paquier <michael@paquier.xyz>
Discussion: https://postgr.es/m/aQ2k8--a0FfwSwX9@paquier.xyz
src/backend/statistics/dependencies.c
src/backend/utils/adt/Makefile
src/backend/utils/adt/meson.build
src/backend/utils/adt/pg_dependencies.c [new file with mode: 0644]