pgsql: Add another regression test cross-checking operator and function - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Add another regression test cross-checking operator and function
Date
Msg-id E1W1r4v-0008GI-RU@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Add another regression test cross-checking operator and function comments.

Add a query that lists all the functions that are operator implementation
functions and have a SQL comment that doesn't just say "implementation of
XYZ operator".  (Note that the preceding test checks that such functions'
comments exactly match the corresponding operators' comments.)

While it's not forbidden to add more functions to this list, that should
only be done when we're encouraging users to use either the function or
operator syntax for the functionality, which is a fairly rare situation.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/28233ffaa436852218113d34aa79b7e54f470ed7

Modified Files
--------------
src/test/regress/expected/opr_sanity.out |   33 +++++++++++++++++++++++++++---
src/test/regress/sql/opr_sanity.sql      |   25 +++++++++++++++++++---
2 files changed, 52 insertions(+), 6 deletions(-)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Remove DESCR entries for json operator functions.
Next
From: Bruce Momjian
Date:
Subject: pgsql: docs: remove undocumented assign syntax in plpgsql examples