Re: psql scripting tutorials - Mailing list pgsql-general

From Peter Eisentraut
Subject Re: psql scripting tutorials
Date
Msg-id 48CA189A.1050006@gmx.net
Whole thread Raw
In response to Re: psql scripting tutorials  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-general
Alvaro Herrera wrote:
> Doesn't say about variable expansion ...  And it seems to be in a
> different realm, because the point is that the command is going to have
> a single destination (either \-processing or sending it to the server).
>
> Is psql being just lazy here and avoiding parsing the command?

The intent is to leave open an avenue to pass a command to the server
without any interference from psql at all.  I have never been very
comfortable with overloading -c for that purpose, and it certainly
confuses users from time to time.  But that's the idea anyway.

pgsql-general by date:

Previous
From: Tomasz Ostrowski
Date:
Subject: Re: Autocommit, isolation level, and vacuum behavior
Next
From: "Andrus"
Date:
Subject: Converting string to IN query