postgresql/src/test/modules
Tom Lane 1afcf6aed7 Solve cross-version-upgrade testing problem induced by 1fb57af92.
Renaming varchar_transform to varchar_support had a side effect
I hadn't foreseen: the core regression tests leave around a
transform object that relies on that function, so the name
change breaks cross-version upgrade tests, because the name
used in the older branches doesn't match.

Since the dependency on varchar_transform was chosen with the
aid of a dartboard anyway (it would surely not work as a
language transform support function), fix by just choosing
a different random builtin function with the right signature.
Also add some comments explaining why this isn't horribly unsafe.

I chose to make the same substitution in a couple of other
copied-and-pasted test cases, for consistency, though those
aren't directly contributing to the testing problem.

Per buildfarm.  Back-patch, else it doesn't fix the problem.
2019-02-09 21:02:06 -05:00
..
brin Add a temp-install prerequisite to "check"-like targets not having one. 2017-11-05 18:54:52 -08:00
commit_ts Fix commit_ts for FrozenXid and BootstrapXid 2016-11-24 15:39:55 -03:00
dummy_seclabel Add some more tests on event triggers 2015-03-06 19:14:28 -03:00
test_ddl_deparse Solve cross-version-upgrade testing problem induced by 1fb57af92. 2019-02-09 21:02:06 -05:00
test_parser Update copyright for 2015 2015-01-06 11:43:47 -05:00
test_rls_hooks Fix test_rls_hooks to assign expression collations properly. 2018-12-11 11:48:01 -05:00
test_shm_mq Don't CHECK_FOR_INTERRUPTS between WaitLatch and ResetLatch. 2016-08-01 15:13:53 -04:00
worker_spi Don't use bgw_main even to specify in-core bgworker entrypoints. 2017-03-31 20:50:31 -04:00
Makefile Re-add BRIN isolation test 2015-08-13 14:41:52 -03:00