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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-bugs by date

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