Re: Testing DDL deparsing support

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Ian Barwick <ian(at)2ndquadrant(dot)com>
Cc: "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Testing DDL deparsing support
Date: 2014-12-05 12:18:05
Message-ID: 20141205121805.GG31531@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Nov 28, 2014 at 01:43:36PM +0900, Ian Barwick wrote:
> Standard regression tests are helpful because patch authors include new test
> cases in the patches that stress their new options or commands. This new test
> framework needs to be something that internally runs the regression tests and
> exercises DDL deparsing as the regression tests execute DDL. That would mean
> that new commands and options would automatically be deparse-tested by our new
> framework as soon as patch authors add standard regress support.

Are you saying every time a new option is added to a command that a new
regression test needs to be added? We don't normally do that, and it
could easily bloat the regression tests over time. In summary, this
testing will help, but it will not be fully reliable.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2014-12-05 12:29:59 Re: Testing DDL deparsing support
Previous Message David Rowley 2014-12-05 12:03:11 Re: [Windows,PATCH] Use faster, higher precision timer API