예제 #1
0
파일: outfast.c 프로젝트: CraigHarris/gpdb
static void
_outFunctionScan(StringInfo str, FunctionScan *node)
{
	WRITE_NODE_TYPE("FUNCTIONSCAN");

	_outScanInfo(str, (Scan *) node);
}
예제 #2
0
파일: outfast.c 프로젝트: CraigHarris/gpdb
static void
_outValuesScan(StringInfo str, ValuesScan *node)
{
	WRITE_NODE_TYPE("VALUESSCAN");

	_outScanInfo(str, (Scan *) node);
}
예제 #3
0
파일: outfast.c 프로젝트: huor/gpdb
static void
_outSubqueryScan(StringInfo str, SubqueryScan *node)
{
	WRITE_NODE_TYPE("SUBQUERYSCAN");

	_outScanInfo(str, (Scan *) node);

	WRITE_NODE_FIELD(subplan);
	/* Planner-only: subrtable -- don't serialize. */
}
예제 #4
0
파일: outfast.c 프로젝트: CraigHarris/gpdb
static void
_outCustomScan(StringInfo str, CustomScan *node)
{
	WRITE_NODE_TYPE("CUSTOMSCAN");

	_outScanInfo(str, (Scan *) node);

	WRITE_UINT_FIELD(flags);
	WRITE_NODE_FIELD(custom_plans);
	WRITE_NODE_FIELD(custom_exprs);
	WRITE_NODE_FIELD(custom_private);
	WRITE_NODE_FIELD(custom_scan_tlist);
	WRITE_BITMAPSET_FIELD(custom_relids);

	// serialize CustomScanMethods
	WRITE_STRING_FIELD(methods->CustomName);
	WRITE_STRING_FIELD(methods->LibraryName);
	WRITE_STRING_FIELD(methods->SymbolName);
}