pgsql: Start a separate test suite for plpgsql

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Start a separate test suite for plpgsql
Date: 2017-12-13 16:03:00
Message-ID: E1eP9Uq-0007fy-BZ@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Start a separate test suite for plpgsql

The plpgsql.sql test file in the main regression tests is now by far the
largest after numeric_big, making editing and managing the test cases
very cumbersome. The other PLs have their own test suites split up into
smaller files by topic. It would be nice to have that for plpgsql as
well. So, to get that started, set up test infrastructure in
src/pl/plpgsql/src/ and split out the recently added procedure test
cases into a new file there. That file now mirrors the test cases added
to the other PLs, making managing those matching tests a bit easier too.

msvc build system changes with help from Michael Paquier

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/632b03da31cbbf4d32193d35031d301bd50d2679

Modified Files
--------------
src/pl/plpgsql/src/.gitignore | 3 ++
src/pl/plpgsql/src/Makefile | 14 ++++++++
src/pl/plpgsql/src/expected/plpgsql_call.out | 41 +++++++++++++++++++++++
src/pl/plpgsql/src/sql/plpgsql_call.sql | 47 ++++++++++++++++++++++++++
src/test/regress/expected/plpgsql.out | 41 -----------------------
src/test/regress/sql/plpgsql.sql | 49 ----------------------------
src/tools/msvc/vcregress.pl | 31 +++++++++++-------
7 files changed, 125 insertions(+), 101 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2017-12-13 17:35:24 Re: pgsql: Provide overflow safe integer math inline functions.
Previous Message Peter Eisentraut 2017-12-13 15:39:39 pgsql: Fix crash when using CALL on an aggregate