OSDN Git Service

Fix EXPLAIN so that it can drill down through multiple levels of subplan
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 8 Apr 2006 18:49:52 +0000 (18:49 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 8 Apr 2006 18:49:52 +0000 (18:49 +0000)
commitc6e81aeef39fd546976c5d90e484db0ddb2536e7
tree78746e33bce7278b3061460261a20c2bcad6e3ad
parent74bdf965a688301146b174fed5987c764517142f
Fix EXPLAIN so that it can drill down through multiple levels of subplan
when trying to locate the referent of a RECORD variable.  This fixes the
'record type has not been registered' failure reported by Stefan
Kaltenbrunner about a month ago.  A side effect of the way I chose to
fix it is that most variable references in join conditions will now be
properly labeled with the variable's source table name, instead of the
not-too-helpful 'outer' or 'inner' we used to use.
src/backend/commands/explain.c
src/backend/utils/adt/ruleutils.c
src/include/utils/builtins.h