mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 10:30:33 +03:00 
			
		
		
		
	Fix explain for union and inheritance. Rename Append structure
members to be clearer. Fix cost computation for these.
This commit is contained in:
		| @@ -7,7 +7,7 @@ | ||||
|  * | ||||
|  * | ||||
|  * IDENTIFICATION | ||||
|  *	  $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.39 1998/07/14 01:45:24 momjian Exp $ | ||||
|  *	  $Header: /cvsroot/pgsql/src/backend/nodes/outfuncs.c,v 1.40 1998/07/15 14:54:32 momjian Exp $ | ||||
|  * | ||||
|  * NOTES | ||||
|  *	  Every (plan) node in POSTGRES has an associated "out" routine which | ||||
| @@ -354,17 +354,17 @@ _outAppend(StringInfo str, Append *node) | ||||
| 	appendStringInfo(str, " APPEND "); | ||||
| 	_outPlanInfo(str, (Plan *) node); | ||||
|  | ||||
| 	appendStringInfo(str, " :unionplans "); | ||||
| 	_outNode(str, node->unionplans); | ||||
| 	appendStringInfo(str, " :appendplans "); | ||||
| 	_outNode(str, node->appendplans); | ||||
|  | ||||
| 	appendStringInfo(str, " :unionrts "); | ||||
| 	_outNode(str, node->unionrts); | ||||
| 	appendStringInfo(str, " :unionrtables "); | ||||
| 	_outNode(str, node->unionrtables); | ||||
|  | ||||
| 	sprintf(buf, " :unionrelid %d ", node->unionrelid); | ||||
| 	sprintf(buf, " :inheritrelid %d ", node->inheritrelid); | ||||
| 	appendStringInfo(str, buf); | ||||
|  | ||||
| 	appendStringInfo(str, " :unionrtentries "); | ||||
| 	_outNode(str, node->unionrtentries); | ||||
| 	appendStringInfo(str, " :inheritrtable "); | ||||
| 	_outNode(str, node->inheritrtable); | ||||
|  | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user