mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Use strcasecmp in SPI_fnumber(TupleDesc tupdesc, char *fname).
This commit is contained in:
parent
f1861395f3
commit
6e04b4b20f
1 changed files with 1 additions and 1 deletions
|
|
@ -288,7 +288,7 @@ SPI_fnumber(TupleDesc tupdesc, char *fname)
|
|||
|
||||
for (res = 0; res < tupdesc->natts; res++)
|
||||
{
|
||||
if (strcmp(tupdesc->attrs[res]->attname.data, fname) == 0)
|
||||
if (strcasecmp(tupdesc->attrs[res]->attname.data, fname) == 0)
|
||||
return (res + 1);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue