提交 cb2ae69b 编写于 作者: H Heikki Linnakangas

Fix small whitespace differences vs. upstream.

上级 bc5d8549
......@@ -271,10 +271,11 @@ hashgettuple(PG_FUNCTION_ARGS)
/* Release read lock on current buffer, but keep it pinned */
if (BufferIsValid(so->hashso_curbuf))
_hash_chgbufaccess(rel, so->hashso_curbuf, HASH_READ, HASH_NOLOCK);
PG_RETURN_BOOL(res);
}
/*
* hashgetbitmap() -- get all tuples at once
*/
......@@ -330,6 +331,7 @@ hashgetbitmap(PG_FUNCTION_ARGS)
PG_RETURN_POINTER(tbm);
}
/*
* hashbeginscan() -- start a scan on a hash index
*/
......
......@@ -6797,7 +6797,6 @@ StartupXLOG(void)
ereport(DEBUG1,
(errmsg("next MultiXactId: %u; next MultiXactOffset: %u",
checkPoint.nextMulti, checkPoint.nextMultiOffset)));
if (!TransactionIdIsNormal(checkPoint.nextXid))
ereport(PANIC,
(errmsg("invalid next transaction ID")));
......
......@@ -217,7 +217,6 @@ GRANT SELECT ON information_schema_catalog_name TO PUBLIC;
CREATE DOMAIN time_stamp AS timestamp(2) with time zone
DEFAULT current_timestamp(2);
/*
* 5.7
* YES_OR_NO domain
......
......@@ -247,7 +247,7 @@ ExecInitAppend(Append *node, EState *estate, int eflags)
*/
appendstate->as_whichplan = i;
exec_append_initialize_next(appendstate);
appendplanstates[i] = ExecInitNode(initNode, estate, eflags);
}
......@@ -351,7 +351,6 @@ ExecAppend(AppendState *node)
return result;
}
/*
* Go on to the "next" subplan in the appropriate direction. If no
* more subplans, return the empty slot set up for us by
......@@ -361,7 +360,6 @@ ExecAppend(AppendState *node)
node->as_whichplan++;
else
node->as_whichplan--;
if (!exec_append_initialize_next(node))
return ExecClearTuple(node->ps.ps_ResultTupleSlot);
......
......@@ -34,6 +34,7 @@
#include "cdb/memquota.h"
#include "executor/spi.h"
static TupleTableSlot *FunctionNext(FunctionScanState *node);
static void ExecFunctionScanExplainEnd(PlanState *planstate, struct StringInfoData *buf);
......
......@@ -69,7 +69,6 @@
#define T_OR_F(b) ((b) ? "true" : "false")
#define NULL_OR_TUPLE(slot) (TupIsNull(slot) ? "null" : "a tuple")
/* ----------------
* nest loop debugging defines
* ----------------
......
......@@ -23,6 +23,7 @@
#include "nodes/pg_list.h"
#include "catalog/pg_class.h"
typedef struct RelationData *Relation;
/* ----------------
......@@ -60,7 +61,7 @@ extern void RelationInitIndexAccessInfo(Relation relation);
extern void RelationCacheInitialize(void);
extern void RelationCacheInitializePhase2(void);
extern void RelationCacheInitializePhase3(void);
/*
* Routine to create a relcache entry for an about-to-be-created relation
*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册