Re: [HACKERS] SPI_fnumber is case sensitive

2004-05-06 Thread Thomas Hallgren
<[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, May 06, 2004 2:09 PM Subject: Re: [HACKERS] SPI_fnumber is case sensitive > "Thomas Hallgren" <[EMAIL PROTECTED]> writes: > > The SPI_fnumber (returns the column number using a name) is case sensit

Re: [HACKERS] SPI_fnumber is case sensitive

2004-05-06 Thread Tom Lane
"Thomas Hallgren" <[EMAIL PROTECTED]> writes: > The SPI_fnumber (returns the column number using a name) is case sensitive. It's supposed to be. If it weren't, how would you cope with a result that contains both "x" and "X"? regards, tom lane ---(

[HACKERS] SPI_fnumber is case sensitive

2004-05-05 Thread Thomas Hallgren
The SPI_fnumber (returns the column number using a name) is case sensitive. I think a patch would be appropriate. Either to the documentation that could state this fact and suggest lowercasing the colname parameter, or to the code to make it case insensitive. I'd be happy to provide the one chosen.