Re: BUG #2742: psql -c is not case sensitive - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #2742: psql -c is not case sensitive
Date
Msg-id 16582.1163139468@sss.pgh.pa.us
Whole thread Raw
In response to BUG #2742: psql -c is not case sensitive  ("" <chad.wilson@ngc.com>)
List pgsql-bugs
"" <chad.wilson@ngc.com> writes:
> If a schema is created with the command
>     psql -d dbname -c "CREATE SCHEMA "SCHEMA_name"
> and is executed at the command line, then a schema is created for dbname
> with the name schema_name.

I think you need to reflect on the properties of the shell's quoting
conventions --- that will come through to psql and hence the backend
with no quotes.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Hagen"
Date:
Subject: BUG #2749: Function's final statement must be a SELECT
Next
From: Tom Lane
Date:
Subject: Re: BUG #2749: Function's final statement must be a SELECT