summaryrefslogtreecommitdiff
path: root/src/backend/access/gist/gistproc.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2015-12-31 17:37:31 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2015-12-31 17:37:31 -0500
commit0dab5ef39b3d9d86e45bbbb2f6ea60b4f5517d9a (patch)
treed9b7a923d9d00270142b0209f621e433b61e4133 /src/backend/access/gist/gistproc.c
parente5d06f2b12a7c75f2b0c7fd2055a14efaa2b59ec (diff)
downloadpostgresql-0dab5ef39b3d9d86e45bbbb2f6ea60b4f5517d9a.tar.gz
Fix ALTER OPERATOR to update dependencies properly.
Fix an oversight in commit 321eed5f0f7563a0: replacing an operator's selectivity functions needs to result in a corresponding update in pg_depend. We have a function that can handle that, but it was not called by AlterOperator(). To fix this without enlarging pg_operator.h's #include list beyond what clients can safely include, split off the function definitions into a new file pg_operator_fn.h, similarly to what we've done for some other catalog header files. It's not entirely clear whether any client-side code needs to include pg_operator.h, but it seems prudent to assume that there is some such code somewhere.
Diffstat (limited to 'src/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions