]> granicus.if.org Git - postgresql/commit
Move code for managing PartitionDescs into a new file, partdesc.c
authorRobert Haas <rhaas@postgresql.org>
Thu, 21 Feb 2019 16:38:54 +0000 (11:38 -0500)
committerRobert Haas <rhaas@postgresql.org>
Thu, 21 Feb 2019 16:45:02 +0000 (11:45 -0500)
commit1bb5e78218107db543086e71fc162d36a955b08e
tree2a3346aaeac546a0adecebb6ee3fb167d2ae3c5f
parent9eefba181f7782d27d85d7e94e6028371e7ab2d7
Move code for managing PartitionDescs into a new file, partdesc.c

This is similar in spirit to the existing partbounds.c file in the
same directory, except that there's a lot less code in the new file
created by this commit.  Pending work in this area proposes to add a
bunch more code related to PartitionDescs, though, and this will give
us a good place to put it.

Discussion: http://postgr.es/m/CA+TgmoZUwPf_uanjF==gTGBMJrn8uCq52XYvAEorNkLrUdoawg@mail.gmail.com
17 files changed:
src/backend/catalog/heap.c
src/backend/catalog/partition.c
src/backend/catalog/pg_constraint.c
src/backend/commands/indexcmds.c
src/backend/commands/tablecmds.c
src/backend/commands/trigger.c
src/backend/executor/execPartition.c
src/backend/optimizer/util/inherit.c
src/backend/optimizer/util/plancat.c
src/backend/partitioning/Makefile
src/backend/partitioning/partbounds.c
src/backend/partitioning/partdesc.c [new file with mode: 0644]
src/backend/utils/cache/partcache.c
src/backend/utils/cache/relcache.c
src/include/catalog/partition.h
src/include/partitioning/partdesc.h [new file with mode: 0644]
src/include/utils/partcache.h