]> 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:15 +0000 (16:22 -0700)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 26 Jun 2014 23:22:15 +0000 (16:22 -0700)
commitf71136eeeb5c6a234e19a245db7ae1484fc7bf4f
tree735f5ec1cbd2f721de7fe21fac130683558bd7c0
parent344eed91e9d5bfea698b30351abde69ea4e893a8
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