| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Extend SQL function tests lightly |
| Date: | 2020-09-05 11:34:57 |
| Message-ID: | E1kEWTB-0008I7-JL@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(at)2ndquadrant(dot)com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/11b80d900fe4297e8e4bc231f6a41b53d604ed9e
Modified Files
--------------
src/test/regress/expected/create_function_3.out | 20 +++++++++++++++++++-
src/test/regress/sql/create_function_3.sql | 6 +++++-
2 files changed, 24 insertions(+), 2 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2020-09-05 12:35:44 | pgsql: Switch to multi-inserts when registering dependencies for many c |
| Previous Message | Michael Paquier | 2020-09-05 04:56:04 | pgsql: Use multi-inserts for pg_depend |