psql --batch

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: psql --batch
Date: 2017-08-28 05:18:35
Message-ID: CAMsr+YHkrs4buyrUaitWp1wZcQNkfK-_HgqWcS8i2827CkEEUg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi all

I find myself regurgitating the incantation

psql -qAtX -v ON_ERRORS_STOP=1

quite a bit. It's not ... super friendly.

It strikes me that we could possibly benefit from a 'psql --batch' option.

Thoughts?

--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Craig Ringer 2017-08-28 05:28:54 Make pg_regress print a connstring with sockdir
Previous Message Masahiko Sawada 2017-08-28 02:12:06 Re: pgbench: Skipping the creating primary keys after initialization