plpgsql test layout

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: plpgsql test layout
Date: 2017-11-14 16:18:02
Message-ID: e6219cac-7a05-e0b3-45e3-5bba481bf616@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Something that has been bothering me for a while, while we have neatly
organized test files for plperl, plpython, pltcl, the plpgsql tests are
all in one giant file in the main test suite, which makes development
and testing of plpgsql cumbersome. It is by far the largest test file
after numeric_big now.

One option would be to create a new test setup under src/pl/pgsql(/src)
and move some of the test material from the main test suite there. Some
of the test cases in the main test suite are more about SPI and triggers
and such, so it makes sense to keep these in the main line. Of course
finding the cut-off might be hard. Or maybe we'll just start with new
stuff from now on.

Any thoughts?

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Moser 2017-11-14 16:19:35 Re: [HACKERS] [PROPOSAL] Temporal query processing with range types
Previous Message Tom Lane 2017-11-14 16:14:51 Re: [HACKERS] SQL procedures