Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2 - Mailing list pgsql-hackers

From Vadim Mikheev
Subject Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2
Date
Msg-id 36EDE401.9277B552@krs.ru
Whole thread Raw
In response to Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2
List 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.

Vadim


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2