aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/adt/numeric.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2016-01-05 15:00:54 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2016-01-05 15:00:54 -0500
commit921191912c48a68db81c02c02f3bc22e291d918c (patch)
tree352ff1259043977d01f06f92596eb2643a750dbb /src/backend/utils/adt/numeric.c
parentea0d494dae0d3d6fce26bf5d6fbaa07e2ee6c402 (diff)
downloadpostgresql-921191912c48a68db81c02c02f3bc22e291d918c.tar.gz
postgresql-921191912c48a68db81c02c02f3bc22e291d918c.zip
In opr_sanity regression test, check for unexpected uses of cstring.
In light of commit ea0d494dae0d3d6f, it seems like a good idea to add a regression test that will complain about random functions taking or returning cstring. Only I/O support functions and encoding conversion functions should be declared that way. While at it, add some checks that encoding conversion functions are declared properly. Since pg_conversion isn't populated manually, it's not quite as necessary to check its contents as it is for catalogs like pg_proc; but one thing we definitely have not tested in the past is whether the identified conproc for a conversion actually does that conversion vs. some other one.
Diffstat (limited to 'src/backend/utils/adt/numeric.c')
0 files changed, 0 insertions, 0 deletions