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

From: reedstrm(at)wallace(dot)ece(dot)rice(dot)edu (Ross J(dot) Reedstrom)
To: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Re: [GENERAL] Bug with sequences in 6.4.2
Date: 1999-03-15 16:46:14
Message-ID: m10MaVL-000LHuC@wallace.ece.rice.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general 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(at)rice(dot)edu>
NSBRI Research Scientist/Programmer
Computer and Information Technology Institute
Rice University, 6100 S. Main St., Houston, TX 77005

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 1999-03-15 16:50:34 Re: [GENERAL] Bug with sequences in 6.4.2
Previous Message Rob Walker 1999-03-15 16:29:29 Re: [GENERAL] Soundex functions for triggers?

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-03-15 16:50:34 Re: [GENERAL] Bug with sequences in 6.4.2
Previous Message Jan Wieck 1999-03-15 16:04:21 Re: [HACKERS] libpq and SPI