postgresql/src/test/regress/output
Tom Lane 6303a57309 Replace opr_sanity test's binary_coercible() function with C code.
opr_sanity's binary_coercible() function has always been meant
to match the parser's notion of binary coercibility, but it also
has always been a rather poor approximation of the parser's
real rules (as embodied in IsBinaryCoercible()).  That hasn't
bit us so far, but it's predictable that it will eventually.

It also now emerges that implementing this check in plpgsql
performs absolutely horribly in clobber-cache-always testing.
(Perhaps we could do something about that, but I suspect it just
means that plpgsql is exploiting catalog caching to the hilt.)

Hence, let's replace binary_coercible() with a C shim that directly
invokes IsBinaryCoercible(), eliminating both the semantic hazard
and the performance issue.

Most of regress.c's C functions are declared in create_function_1,
but we can't simply move that to before opr_sanity/type_sanity
since those tests would complain about the resulting shell types.
I chose to split it into create_function_0 and create_function_1.
Since create_function_0 now runs as part of a parallel group while
create_function_1 doesn't, reduce the latter to create just those
functions that opr_sanity and type_sanity would whine about.

To make room for create_function_0 in the second parallel group
of tests, move tstypes to the third parallel group.

In passing, clean up some ordering deviations between
parallel_schedule and serial_schedule.

Discussion: https://postgr.es/m/292305.1620503097@sss.pgh.pa.us
2021-05-11 14:28:11 -04:00
..
constraints.source Clean up ancient test style 2020-12-15 22:03:39 +01:00
copy.source Add some basic tests for progress reporting of COPY 2021-03-16 09:55:43 +09:00
create_function_0.source Replace opr_sanity test's binary_coercible() function with C code. 2021-05-11 14:28:11 -04:00
create_function_1.source Replace opr_sanity test's binary_coercible() function with C code. 2021-05-11 14:28:11 -04:00
create_function_2.source Remove unused functions in regress.c. 2018-02-27 11:11:25 -05:00
largeobject.source Fix typos. 2020-06-11 15:14:09 +05:30
largeobject_1.source Fix typos. 2020-06-11 15:14:09 +05:30
misc.source Remove support for version-0 calling conventions. 2017-03-30 06:25:46 -07:00
tablespace.source Add TABLESPACE option to REINDEX 2021-02-04 14:34:20 +09:00