git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 8c95168) | patch
Have LookupFuncName accept NULL argtypes for 0 args
2019年11月12日 20:04:46 +0000 (17:04 -0300)
2019年11月12日 20:06:58 +0000 (17:06 -0300)
commit dcb7d3cafa3197c5425c129ba0dc5eddd23c0532
Have LookupFuncName accept NULL argtypes for 0 args

Prior to this change, it requires to be passed a valid pointer just to
be able to pass it to a zero-byte memcmp, per 0a52d378b03b. Given the
strange resulting code in callsites, it seems better to test for the
case specifically and remove the requirement.

Reported-by: Ranier Vilela
Discussion: https://postgr.es/m/MN2PR18MB2927F24692485D754794F01BE3740@MN2PR18MB2927.namprd18.prod.outlook.com
Discussion: https://postgr.es/m/MN2PR18MB2927F6873DF2774A505AC298E3740@MN2PR18MB2927.namprd18.prod.outlook.com
src/backend/commands/event_trigger.c diff | blob | blame | history
src/backend/commands/foreigncmds.c diff | blob | blame | history
src/backend/commands/proclang.c diff | blob | blame | history
src/backend/commands/trigger.c diff | blob | blame | history
src/backend/parser/parse_func.c diff | blob | blame | history
src/pl/tcl/pltcl.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /