pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: John Norman <john@7fff.com>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #14645: Can't use psql from within program used by "copy ... from program" script?
Date: Sat, 06 May 2017 14:49:00 -0400
Message-ID: <28788.1494096540@sss.pgh.pa.us> (raw)
In-Reply-To: <CAGcH5RFsnTuEZ5og4TMkdVZe0-wrPA38AVubWGt8ecHHJ0Cgag@mail.gmail.com>
References: <20170506171803.24361.76643@wrigleys.postgresql.org>
	<19511.1494092702@sss.pgh.pa.us>
	<CAGcH5RHAm7E5nGUhexFPH3NehMGx17PKc6yWJQekHc_j0DeU=A@mail.gmail.com>
	<28102.1494095284@sss.pgh.pa.us>
	<CAGcH5RFsnTuEZ5og4TMkdVZe0-wrPA38AVubWGt8ecHHJ0Cgag@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

John Norman <john@7fff.com> writes:
> And also in the category of the obvious: I double-checked the PG log, and
> now see line 5: psql: command not found

Yeah, I was about to mention that --- given a properly set up server,
any stderr bleats from the invoked program would be getting captured
in the postmaster log.

> My bad. Sorry to use up your time.

NP

			regards, tom lane


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (7+ messages)

Message-ID: <28788.1494096540@sss.pgh.pa.us>
Permalink:  ../28788.1494096540@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/28788.1494096540@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, john@7fff.com
  Subject: Re: BUG #14645: Can't use psql from within program used by "copy ... from program" script?
  In-Reply-To: <28788.1494096540@sss.pgh.pa.us>
  References: <20170506171803.24361.76643@wrigleys.postgresql.org> <19511.1494092702@sss.pgh.pa.us> <CAGcH5RHAm7E5nGUhexFPH3NehMGx17PKc6yWJQekHc_j0DeU=A@mail.gmail.com> <28102.1494095284@sss.pgh.pa.us> <CAGcH5RFsnTuEZ5og4TMkdVZe0-wrPA38AVubWGt8ecHHJ0Cgag@mail.gmail.com> <28788.1494096540@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox