aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/tsgistidx.c
diff options
context:
space:
mode:
authorStephen Frost <sfrost@snowman.net>2016-12-21 13:47:06 -0500
committerStephen Frost <sfrost@snowman.net>2016-12-21 13:47:06 -0500
commit2259bf672cb45b4104dcb835354beeb1c6105b0e (patch)
treefe946e752af64771c71157adf3a6ae4099807da9 /src/backend/utils/adt/tsgistidx.c
parent19990918d3fa2a445561627ed415b5891602f7fe (diff)
downloadpostgresql-2259bf672cb45b4104dcb835354beeb1c6105b0e.tar.gz
postgresql-2259bf672cb45b4104dcb835354beeb1c6105b0e.zip
Fix dumping of casts and transforms using built-in functions
In pg_dump.c dumpCast() and dumpTransform(), we would happily ignore the cast or transform if it happened to use a built-in function because we weren't including the information about built-in functions when querying pg_proc from getFuncs(). Modify the query in getFuncs() to also gather information about functions which are used by user-defined casts and transforms (where "user-defined" means "has an OID >= FirstNormalObjectId"). This also adds to the TAP regression tests for 9.6 and master to cover these types of objects. Back-patch all the way for casts, back to 9.5 for transforms. Discussion: https://www.postgresql.org/message-id/flat/20160504183952.GE10850%40tamriel.snowman.net
Diffstat (limited to 'src/backend/utils/adt/tsgistidx.c')
0 files changed, 0 insertions, 0 deletions