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:57:04
Message-ID: 199903160457.XAA02002@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(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

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-03-16 05:01:36 Re: [HACKERS] snprintf() instead of sprintf() ?
Previous Message Vadim Mikheev 1999-03-16 04:54:25 Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2