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

Поиск
Список
Период
Сортировка
От reedstrm@wallace.ece.rice.edu (Ross J. Reedstrom)
Тема Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2
Дата
Msg-id m10MaVL-000LHuC@wallace.ece.rice.edu
обсуждение исходный текст
Ответ на Re: [GENERAL] Bug with sequences in 6.4.2  (Bruce Momjian <maillist@candle.pha.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: jwieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [HACKERS] libpq and SPI
Следующее
От: Bruce Momjian
Дата:
Сообщение: developers globe