]> granicus.if.org Git - postgresql/commit
Add another regression test cross-checking operator and function comments.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 11 Jan 2014 05:16:08 +0000 (00:16 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 11 Jan 2014 05:16:08 +0000 (00:16 -0500)
commit28233ffaa436852218113d34aa79b7e54f470ed7
tree3e007b447e3ea95c3250e641002cc72d3e3ea519
parent11829ff8b2c877469845c08e5966a704b814ca5f
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.
src/test/regress/expected/opr_sanity.out
src/test/regress/sql/opr_sanity.sql