Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2015-01-15 18:39:33 +0000
committerTom Lane2015-01-15 18:39:33 +0000
commit8e166e164c7c4531d7eb150d836aa2357989237a (patch)
tree1cf5abe76f86c4a4bee68e714b03aeebbe0dafa8 /src/backend/commands/async.c
parenta5cd70dcbc268381e13cb0b2973b5732856d186f (diff)
Rearrange explain.c's API so callers need not embed sizeof(ExplainState).
The folly of the previous arrangement was just demonstrated: there's no convenient way to add fields to ExplainState without breaking ABI, even if callers have no need to touch those fields. Since we might well need to do that again someday in back branches, let's change things so that only explain.c has to have sizeof(ExplainState) compiled into it. This costs one extra palloc() per EXPLAIN operation, which is surely pretty negligible.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions