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

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

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