Re: psql line number reporting from stdin

Robert Haas <robertmhaas@gmail.com>

From: Robert Haas <robertmhaas@gmail.com>
To: Gurjeet Singh <singh.gurjeet@gmail.com>
Cc: Peter Eisentraut <peter_e@gmx.net>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-11-28T13:55:45Z
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 -

On Mon, Nov 28, 2011 at 8:49 AM, Gurjeet Singh <singh.gurjeet@gmail.com> wrote:
> Naysayers can always make a case for backwards-compatibility, or not
> breaking the scripts written with the existing behaviour in mind.

I'm having a hard time imagining how this could break anything.  What
scenario did you have in mind?

> Do our
> docs have anything to say about scripts executed from stdin?

If they do, we can always update them.

-- 
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company