From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Erik Jones <ejones(at)engineyard(dot)com> |
Cc: | Greenhorn <user(dot)postgresql(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org, pgsql-sql(at)postgresql(dot)org |
Subject: | Re: [SQL] bash & postgres |
Date: | 2009-03-23 19:55:13 |
Message-ID: | 1217.1237838113@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-sql |
Erik Jones <ejones(at)engineyard(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Jeremy Harris | 2009-03-23 20:41:06 | Re: unexpected check constraint violation |
Previous Message | Jacek Becla | 2009-03-23 19:54:09 | unexpected check constraint violation |
From | Date | Subject | |
---|---|---|---|
Next Message | Zdravko Balorda | 2009-03-24 08:55:06 | Alter Table/Indexing |
Previous Message | Erik Jones | 2009-03-23 19:04:17 | Re: [SQL] bash & postgres |