8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c787a2 commit 78bd364Copy full SHA for 78bd364
contrib/spi/refint.c
@@ -321,7 +321,7 @@ check_foreign_key(PG_FUNCTION_ARGS)
321
if (nrefs < 1)
322
/* internal error */
323
elog(ERROR, "check_foreign_key: %d (< 1) number of references specified", nrefs);
324
- action = tolower((unsigned char) *(args[1]));
+ action = pg_ascii_tolower((unsigned ch 48C3 ar) *(args[1]));
325
if (action != 'r' && action != 'c' && action != 's')
326
327
elog(ERROR, "check_foreign_key: invalid action %s", args[1]);
0 commit comments