Обсуждение: pgsql: Add another regression test cross-checking operator and function

Поиск
Список
Период
Сортировка

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

От
Tom Lane
Дата:
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(-)