Re: TODO Item: Consider allowing control of upper/lower case folding of unquoted, identifiers

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: TODO Item: Consider allowing control of upper/lower case folding of unquoted, identifiers
Дата
Msg-id 20080327223941.GB15848@svana.org
обсуждение исходный текст
Ответ на Re: TODO Item: Consider allowing control of upper/lower case folding of unquoted, identifiers  (Russell Smith <mr-russ@pws.com.au>)
Ответы Re: TODO Item: Consider allowing control of upper/lower case folding of unquoted, identifiers  (Gregory Stark <stark@enterprisedb.com>)
Список pgsql-hackers
On Fri, Mar 28, 2008 at 03:30:21AM +1100, Russell Smith wrote:
> 3. the client needs to know what quote rules are in place. (libpq:
> PQfname, PQfnumber)

The question I want to see answered, is how something like DBD::Pg will
handle this. If I wrote code like this in Perl:

my %hash = $res->get_row_as_hash();
print $hash{mycolumn};

Will this change break my code? Perl hashes are case-sensetive, you
can't change that. And it seems impossibly complex to fix the above
code to work with all the possible combinations... Which starts leading
you down the path of folding in some places and not others, which is
madness.

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Please line up in a tree and maintain the heap invariant while
> boarding. Thank you for flying nlogn airlines.

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

Предыдущее
От: Greg Smith
Дата:
Сообщение: Re: pg_standby for 8.2 (with last restart point)
Следующее
От: "Alex Hunsaker"
Дата:
Сообщение: Re: Status of GIT mirror (Was having problem in rsync'ing cvs)