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 199903160450.XAA01794@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:
> > 
> > Good idea.  Done.
> > 
> > test=> select nextval('"Aa"');
> > nextval
> > -------
> >       3
> > (1 row)
> 
> 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.

--  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
Следующее
От: Vadim Mikheev
Дата:
Сообщение: Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2