Extend SQL function tests lightly
Peter Eisentraut <peter@eisentraut.org>
Extend SQL function tests lightly The basic tests that defined SQL functions didn't actually run the functions to see if they worked. Add that, and also fix a minor mistake in a function that was revealed by this. (This is not a question of test coverage, since there are other places where SQL functions are run, but it is a bit of a silly test design.) Discussion: https://www.postgresql.org/message-id/flat/1c11f1eb-f00c-43b7-799d-2d44132c02d7@2ndquadrant.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/regress/expected/create_function_3.out | modified | +19 −1 |
| src/test/regress/sql/create_function_3.sql | modified | +5 −1 |
Discussion
- SQL-standard function body 91 messages · 2020-06-30 → 2021-06-08