]> granicus.if.org Git - postgresql/commit
Get rid of bogus separate pg_proc entries for json_extract_path operators.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Jun 2014 23:22:18 +0000 (16:22 -0700)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Jun 2014 23:22:18 +0000 (16:22 -0700)
commitc3096d57c8faa24aa5ff4cc7e87d989ce42ad05d
treed95f25c9c601e29bc39faeb21dd34ea7ea66d746
parent973837450c764b585321c965179eb8a57380ab5c
Get rid of bogus separate pg_proc entries for json_extract_path operators.

These should not have existed to begin with, but there was apparently some
misunderstanding of the purpose of the opr_sanity regression test item
that checks for operator implementation functions with their own comments.
The idea there is to check for unintentional violations of the rule that
operator implementation functions shouldn't be documented separately
.... but for these functions, that is in fact what we want, since the
variadic option is useful and not accessible via the operator syntax.
Get rid of the extra pg_proc entries and fix the regression test and
documentation to be explicit about what we're doing here.
doc/src/sgml/func.sgml
src/include/catalog/catversion.h
src/include/catalog/pg_operator.h
src/include/catalog/pg_proc.h
src/test/regress/expected/opr_sanity.out