Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2
Дата
Msg-id 199903160457.XAA02002@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2  (Vadim Mikheev <vadim@krs.ru>)
Список pgsql-hackers
> Bruce Momjian wrote:
> > 
> > > select currval('"Aa"');
> > 
> > Someone complained they could not get a sequence named "Aa" because the
> > code auto-lowercased the nextval parameter.  The new code accepts
> > nextval('"Aa"'), and preserves the case.  Other cases are
> > auto-lowercased.
> 
> No, just looked in new code and seems that your changes in 
> parse_func.c handle currval() and setval() as well, sorry.

I meant that non-double quoted cases are auto-lowered.  I didn't realize
I was also dealing with other *val cases.  I guess that is good.

I am on IRC now.


--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


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

Предыдущее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: [HACKERS] snprintf() instead of sprintf() ?