Re: How TODO prevent PQfnumber() from lowercasing?

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: How TODO prevent PQfnumber() from lowercasing?
Дата
Msg-id 200510120325.j9C3P8o21032@candle.pha.pa.us
обсуждение исходный текст
Ответ на How TODO prevent PQfnumber() from lowercasing?  (Volkan YAZICI <volkan.yazici@gmail.com>)
Ответы Re: How TODO prevent PQfnumber() from lowercasing?  (Volkan YAZICI <volkan.yazici@gmail.com>)
Список 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@candle.pha.pa.us               |  (610)
359-1001+  If your life is a hard drive,     |  13 Roberts Road +  Christ can be your backup.        |  Newtown Square,
Pennsylvania19073
 


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_dump option to dump only functions
Следующее
От: "Ilia Kantor"
Дата:
Сообщение: Re: slow IN() clause for many cases