[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-sql
Subject: Re: [GENERAL] [SQL] bash & postgres
From: Tom Lane <tgl () sss ! pgh ! pa ! us>
Date: 2009-03-23 19:55:13
Message-ID: 1217.1237838113 () sss ! pgh ! pa ! us
[Download RAW message or body]
Erik Jones <ejones@engineyard.com> writes:
> On Mar 23, 2009, at 7:05 AM, Tom Lane wrote:
>> The reason you have to do this is that psql doesn't recognize
>> backslash commands in a -c string. There's a school of thought that
>> doesn't want us to allow multiple commands in a -c string, even.
> Hmm... Apparently it does recognize them as long as the backslash is
> the first character in the command string:
Hmm, maybe I was just misremembering the details. What's certainly
true is that psql doesn't run a -c string through the same extensive
parsing that data from stdin gets.
regards, tom lane
--
Sent via pgsql-sql mailing list (pgsql-sql@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-sql
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic