Re: pipe line error (psql command) - Mailing list pgsql-general

From jgoulet
Subject Re: pipe line error (psql command)
Date
Msg-id 1304354063686-4365141.post@n5.nabble.com
Whole thread Raw
In response to Re: pipe line error (psql command)  (Adrian Klaver <adrian.klaver@gmail.com>)
List pgsql-general
I had a similar problem.  When executing my shp2pgsql command within a bash
shell script it failed and provided me with the valid options.

Adrian Klaver, with a couple of emails back and forth, identified my error.

I had not been using single and double quotes to assign my 'command' to a
variable and then tried 'executing' the contents of the variable.  This was
done for my beginner level progress monitoring and logging.

Adrian noticed a tick (`) or back quote is needed instead of the single or
double quote.

My scripts are now singing along nicely.  Thank you Adrian.

Jerry

--
View this message in context:
http://postgresql.1045698.n5.nabble.com/pipe-line-error-psql-command-tp4337702p4365141.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: auto-reconnect: temp schemas, sequences, transactions
Next
From: Jim Irrer
Date:
Subject: Re: pervasiveness of surrogate (also called synthetic) keys