From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | prlw1(at)cam(dot)ac(dot)uk, PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] Re: [GENERAL] Variable case database names |
Date: | 2000-01-20 22:04:45 |
Message-ID: | 200001202204.RAA20758@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
[Charset ISO-8859-1 unsupported, filtering to ASCII...]
> There is some code in libpq which converts all database names to
> lower-case, unless it's double quoted. That seems a little ill-conceived
> to me, since you'd actually have to pass it something like
> PGconnectdb("dbname=\"Newnham\"");
>
> If anything, this would make it inconvenient it psql, because you'd have
> to write
> \c '"Newnham"'
> since
> \c "Newnham"
> is interpreted differently.
>
> Does anyone have an explanation for this? Why not leave the name as is?
We do the same thing with queries, right? We force identifiers to lower
case unless quoted.
--
Bruce Momjian | http://www.op.net/~candle
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-01-20 22:18:36 | Re: [GENERAL] Unsigned Datatypes |
Previous Message | Peter Eisentraut | 2000-01-20 21:55:11 | Re: [GENERAL] Variable case database names |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2000-01-20 22:19:53 | New INSTALL text file |
Previous Message | Peter Eisentraut | 2000-01-20 21:57:57 | Install file |