I don't know of how much help this is going to be, but the anwer to the
question
// MATCH FULL/PARTIAL missing; where is this stored?!?
posed in pgForeignKey.cpp line 45 is: In pg_catalog.pg_trigger.tgargs.
It is the third argument (zero based) to the ri-triggers, or more
precisely the RI_MATCH_TYPE_ARGNO'th, cf. include/commands/trigger.h in
the PostgreSQL 8.0 beta 3 source (7.4 as well).
HTH,
Alex