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

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: vadim(at)krs(dot)ru (Vadim Mikheev)
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2
Date: 1999-03-16 04:50:17
Message-ID: 199903160450.XAA01794@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Vadim Mikheev 1999-03-16 04:54:25 Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2
Previous Message Vadim Mikheev 1999-03-16 04:39:55 Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2