Skip site navigation (1) Skip section navigation (2)

Re: BUG #2742: psql -c is not case sensitive

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "" <chad(dot)wilson(at)ngc(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #2742: psql -c is not case sensitive
Date: 2006-11-10 06:17:48
Message-ID: 16582.1163139468@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"" <chad(dot)wilson(at)ngc(dot)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

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2006-11-10 06:29:13
Subject: Re: BUG #2749: Function's final statement must be a SELECT
Previous:From: Stephen habermanDate: 2006-11-10 01:04:13
Subject: BUG #2750: information_schema broken with primary and foreign key on the same column

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group