Re: Add regression tests for DISCARD - Mailing list pgsql-hackers

From Robins Tharakan
Subject Re: Add regression tests for DISCARD
Date
Msg-id CAEP4nAwW-tPaBKhr9-E2_Vk_3oj5X6Uy5JkEHj_niuTmQNt3cA@mail.gmail.com
Whole thread Raw
In response to Re: Add regression tests for DISCARD  (Marko Kreen <markokr@gmail.com>)
Responses Re: Add regression tests for DISCARD
List pgsql-hackers
On 17 June 2013 18:14, Marko Kreen <markokr@gmail.com> wrote:
Perhaps existing tests in guc.sql should be merged into it?


Thanks Marko for pointing out about guc.sql.

Please find attached a patch to move DISCARD related tests from guc.sql to discard.sql. It adds an extra test for a DISCARD PLANS line, although I amn't sure on how to validate that its working.

Personally, I wouldn't call this a great patch, since most of the tests were already running, although in a generic script. The separation of DISCARD related tests to another file is arguably good for the long-term though.

--
Robins Tharakan
Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: proposal: simple date constructor from numeric values
Next
From: Peter Eisentraut
Date:
Subject: Re: pg_resetxlog -m documentation not up to date