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

From reedstrm@wallace.ece.rice.edu (Ross J. Reedstrom)
Subject Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2
Date
Msg-id m10MaVL-000LHuC@wallace.ece.rice.edu
Whole thread Raw
In response to Re: [GENERAL] Bug with sequences in 6.4.2  (Bruce Momjian <maillist@candle.pha.pa.us>)
List pgsql-hackers
<problem with case of sequence name snipped>

> Now in parse_func.c, we convert 'AA' to lower to try and find the
> sequence table.  My assumption is that we should attempt to find the
> table without doing a lower(), and if that fails, try lower.
> 
> Does that make sense to people.  We can't just lower it in every case.
> 

Sounds line exactly the right fix to me. Oh, and a quick scan for other
cases of this assumption (auto lower() of field and attribute names) would
be nice, too.

Ross

-- 
Ross J. Reedstrom, Ph.D., <reedstrm@rice.edu> 
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St.,  Houston, TX 77005


pgsql-hackers by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Re: [HACKERS] libpq and SPI
Next
From: Bruce Momjian
Date:
Subject: developers globe