Re: psql line number reporting from stdin - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: psql line number reporting from stdin
Date
Msg-id 1323538530.20837.5.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: psql line number reporting from stdin  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On fre, 2011-12-09 at 13:44 -0500, Tom Lane wrote:
> Peter Eisentraut <peter_e@gmx.net> writes:
> > The problem is, this breaks the regression tests, because first the
> > actual output changes, and second the line numbers get included, which
> > will create a mess every time you edit a test.  Not sure whether we can
> > work around that.  Ideas?
> 
> Ugh, that's pretty nearly a deal-breaker.  Would it be sane to have a
> command line switch the regression test driver could specify to prevent
> inclusion of this info?

Perhaps.  I was thinking we could use an environment variable when
running under pg_regress.  This could also help, e.g., ecpg.



pgsql-hackers by date:

Previous
From: Greg Smith
Date:
Subject: Re: pg_cancel_backend by non-superuser
Next
From: Kohei KaiGai
Date:
Subject: Re: [v9.2] Fix Leaky View Problem