Re: psql line number reporting from stdin

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter_e@gmx.net>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-12-09T18:44:35Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. psql -f -

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?

			regards, tom lane