Move regression test listing of builtin leakproof functions to opr_sanity.sql.
Andres Freund <andres@anarazel.de>
Move regression test listing of builtin leakproof functions to opr_sanity.sql. The original location in create_function_3.sql didn't invite the close structinity warranted for adding new leakproof functions. Add comments to the test explaining that functions should only be added after careful consideration and understanding what a leakproof function is. Per complaint from Tom Lane after 5eebb8d954ad.
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/create_function_3.out | modified | +0 −238 |
| src/test/regress/expected/opr_sanity.out | modified | +246 −3 |
| src/test/regress/sql/create_function_3.sql | modified | +0 −14 |
| src/test/regress/sql/opr_sanity.sql | modified | +22 −3 |