Re: psql line number reporting from stdin

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: psql line number reporting from stdin
Date: 2011-12-10 17:35:30
Message-ID: 1323538530.20837.5.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On fre, 2011-12-09 at 13:44 -0500, Tom Lane wrote:
> Peter Eisentraut <peter_e(at)gmx(dot)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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kohei KaiGai 2011-12-10 17:41:02 Re: [v9.2] Fix Leaky View Problem
Previous Message Greg Smith 2011-12-10 17:34:22 Re: pg_cancel_backend by non-superuser