From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Volkan YAZICI <volkan(dot)yazici(at)gmail(dot)com> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: How TODO prevent PQfnumber() from lowercasing? |
Date: | 2005-10-12 03:25:08 |
Message-ID: | 200510120325.j9C3P8o21032@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Volkan YAZICI wrote:
> Hi,
>
> Which way do you suggest to "Prevent libpq's PQfnumber() from
> lowercasing the column name" (which is listed as a TODO item). If
> column name has quotes around it we're just removing the quotes and
> comparing with the related column name. Else, lowercasing the column
> name and then comparing.
>
> I couldn't get the idea behind this TODO. Can somebody explain it a
> little bit more?
Good question. The TODO item is:
* Prevent libpq's PQfnumber() from lowercasing the column name?
The question mark means we are not sure how to deal with it. I think
your idea of using quotes to preserve case is a good one.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Ilia Kantor | 2005-10-12 05:06:11 | Re: slow IN() clause for many cases |
Previous Message | Bruce Momjian | 2005-10-12 02:57:41 | Re: pg_dump option to dump only functions |