Re: Issue with psqlrc with command line. - Mailing list pgsql-general

From David G. Johnston
Subject Re: Issue with psqlrc with command line.
Date
Msg-id CAKFQuwa-X0Y6H-vPsoyKbOGkvBvpG0EmOmYcshAv0p5+rxScPw@mail.gmail.com
Whole thread Raw
In response to Issue with psqlrc with command line.  (saurabh shelar <saurabhshelar5@gmail.com>)
Responses Re: Issue with psqlrc with command line.
List pgsql-general
On Wednesday, August 29, 2018, saurabh shelar <saurabhshelar5@gmail.com> wrote:
As per the document from PG-9.6 it is possible. 

You cannot use psql variables with -c

“ command must be either a command string that is completely parsable by the server (i.e., it contains no psql-specific features), or a single backslash command.”


David J.

pgsql-general by date:

Previous
From: saurabh shelar
Date:
Subject: Issue with psqlrc with command line.
Next
From: saurabh shelar
Date:
Subject: Re: Issue with psqlrc with command line.