mirror of
https://github.com/postgres/postgres.git
synced 2025-07-07 00:36:50 +03:00
Used modified version of indent that understands over 100 typedefs.
This commit is contained in:
contrib
src
backend
access
common
gist
hash
heap
index
nbtree
rtree
transam
bootstrap
catalog
commands
executor
execAmi.cexecFlatten.cexecJunk.cexecMain.cexecProcnode.cexecQual.cexecScan.cexecTuples.cexecUtils.cfunctions.cnodeAgg.cnodeAppend.cnodeGroup.cnodeHash.cnodeHashjoin.cnodeIndexscan.cnodeMaterial.cnodeMergejoin.cnodeNestloop.cnodeResult.cnodeSeqscan.cnodeSort.cnodeTee.cnodeUnique.cspi.c
lib
libpq
auth.cbe-dumpdata.cbe-fsstubs.cbe-pqexec.chba.cpassword.cportal.cportalbuf.cpqcomm.cpqcomprim.cpqpacket.c
nodes
optimizer
geqo
geqo_copy.cgeqo_cx.cgeqo_erx.cgeqo_eval.cgeqo_main.cgeqo_misc.cgeqo_mutation.cgeqo_ox1.cgeqo_ox2.cgeqo_params.cgeqo_paths.cgeqo_pmx.cgeqo_pool.cgeqo_px.cgeqo_recombination.cgeqo_selection.cminspantree.c
path
allpaths.cclausesel.ccostsize.chashutils.cindxpath.cjoinpath.cjoinrels.cjoinutils.cmergeutils.corindxpath.cpredmig.cprune.cxfunc.c
plan
prep
util
parser
postmaster
regex
rewrite
storage
buffer
file
ipc
large_object
lmgr
smgr
tcop
tioga
utils
bin
include
access
funcindex.hgenam.hgist.hgistscan.hgiststrat.hhash.hheapam.hhtup.hibit.hiqual.histrat.hitup.hnbtree.hrelscan.hrtree.hrtstrat.hskey.hstrat.htransam.htupdesc.hvalid.hxact.h
bootstrap
c.hcatalog
commands
executor
execFlatten.hexecdesc.hexecutor.hfunctions.hhashjoin.hnodeAgg.hnodeAppend.hnodeGroup.hnodeHash.hnodeHashjoin.hnodeIndexscan.hnodeMaterial.hnodeMergejoin.hnodeNestloop.hnodeResult.hnodeSeqscan.hnodeSort.hnodeTee.hnodeUnique.hspi.htuptable.h
lib
libpq
miscadmin.hnodes
execnodes.hmemnodes.hnodeFuncs.hnodes.hparams.hparsenodes.hpg_list.hplannodes.hprimnodes.hprint.hrelation.h
optimizer
clauseinfo.hclauses.hcost.hgeqo.hgeqo_copy.hgeqo_gene.hgeqo_misc.hgeqo_mutation.hgeqo_paths.hgeqo_pool.hgeqo_recombination.hgeqo_selection.hjoininfo.hkeys.hordering.hpathnode.hpaths.hplancat.hplanmain.hplanner.hprep.htlist.hvar.hxfunc.h
parser
port
postgres.hregex
rewrite
storage
buf_internals.hbufmgr.hbufpage.hipc.hitemid.hitemptr.hlarge_object.hlmgr.hlock.hproc.hshmem.hsinvaladt.h
tcop
utils
interfaces
libpgtcl
libpq
test
tools
entab
tutorial
C-code
@ -26,7 +26,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.24 1997/09/08 02:22:28 momjian Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.25 1997/09/08 21:42:57 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -57,28 +57,28 @@
|
||||
|
||||
/* decls for local routines only used within this module */
|
||||
static void
|
||||
ExecCheckPerms(CmdType operation, int resultRelation, List * rangeTable,
|
||||
Query * parseTree);
|
||||
ExecCheckPerms(CmdType operation, int resultRelation, List *rangeTable,
|
||||
Query *parseTree);
|
||||
static TupleDesc
|
||||
InitPlan(CmdType operation, Query * parseTree,
|
||||
Plan * plan, EState * estate);
|
||||
static void EndPlan(Plan * plan, EState * estate);
|
||||
InitPlan(CmdType operation, Query *parseTree,
|
||||
Plan *plan, EState *estate);
|
||||
static void EndPlan(Plan *plan, EState *estate);
|
||||
static TupleTableSlot *
|
||||
ExecutePlan(EState * estate, Plan * plan,
|
||||
Query * parseTree, CmdType operation,
|
||||
ExecutePlan(EState *estate, Plan *plan,
|
||||
Query *parseTree, CmdType operation,
|
||||
int numberTuples, ScanDirection direction,
|
||||
void (*printfunc) ());
|
||||
static void ExecRetrieve(TupleTableSlot * slot, void (*printfunc) (),
|
||||
EState * estate);
|
||||
static void ExecRetrieve(TupleTableSlot *slot, void (*printfunc) (),
|
||||
EState *estate);
|
||||
static void
|
||||
ExecAppend(TupleTableSlot * slot, ItemPointer tupleid,
|
||||
EState * estate);
|
||||
ExecAppend(TupleTableSlot *slot, ItemPointer tupleid,
|
||||
EState *estate);
|
||||
static void
|
||||
ExecDelete(TupleTableSlot * slot, ItemPointer tupleid,
|
||||
EState * estate);
|
||||
ExecDelete(TupleTableSlot *slot, ItemPointer tupleid,
|
||||
EState *estate);
|
||||
static void
|
||||
ExecReplace(TupleTableSlot * slot, ItemPointer tupleid,
|
||||
EState * estate, Query * parseTree);
|
||||
ExecReplace(TupleTableSlot *slot, ItemPointer tupleid,
|
||||
EState *estate, Query *parseTree);
|
||||
|
||||
/* end of local decls */
|
||||
|
||||
@ -110,7 +110,7 @@ ExecutorLimit(int limit)
|
||||
* ----------------------------------------------------------------
|
||||
*/
|
||||
TupleDesc
|
||||
ExecutorStart(QueryDesc * queryDesc, EState * estate)
|
||||
ExecutorStart(QueryDesc *queryDesc, EState *estate)
|
||||
{
|
||||
TupleDesc result;
|
||||
|
||||
@ -155,7 +155,7 @@ ExecutorStart(QueryDesc * queryDesc, EState * estate)
|
||||
* ----------------------------------------------------------------
|
||||
*/
|
||||
TupleTableSlot *
|
||||
ExecutorRun(QueryDesc * queryDesc, EState * estate, int feature, int count)
|
||||
ExecutorRun(QueryDesc *queryDesc, EState *estate, int feature, int count)
|
||||
{
|
||||
CmdType operation;
|
||||
Query *parseTree;
|
||||
@ -279,7 +279,7 @@ ExecutorRun(QueryDesc * queryDesc, EState * estate, int feature, int count)
|
||||
* ----------------------------------------------------------------
|
||||
*/
|
||||
void
|
||||
ExecutorEnd(QueryDesc * queryDesc, EState * estate)
|
||||
ExecutorEnd(QueryDesc *queryDesc, EState *estate)
|
||||
{
|
||||
/* sanity checks */
|
||||
Assert(queryDesc != NULL);
|
||||
@ -300,8 +300,8 @@ ExecutorEnd(QueryDesc * queryDesc, EState * estate)
|
||||
static void
|
||||
ExecCheckPerms(CmdType operation,
|
||||
int resultRelation,
|
||||
List * rangeTable,
|
||||
Query * parseTree)
|
||||
List *rangeTable,
|
||||
Query *parseTree)
|
||||
{
|
||||
int i = 1;
|
||||
Oid relid;
|
||||
@ -390,7 +390,7 @@ ExecCheckPerms(CmdType operation,
|
||||
* ----------------------------------------------------------------
|
||||
*/
|
||||
static TupleDesc
|
||||
InitPlan(CmdType operation, Query * parseTree, Plan * plan, EState * estate)
|
||||
InitPlan(CmdType operation, Query *parseTree, Plan *plan, EState *estate)
|
||||
{
|
||||
List *rangeTable;
|
||||
int resultRelation;
|
||||
@ -625,7 +625,7 @@ InitPlan(CmdType operation, Query * parseTree, Plan * plan, EState * estate)
|
||||
* ----------------------------------------------------------------
|
||||
*/
|
||||
static void
|
||||
EndPlan(Plan * plan, EState * estate)
|
||||
EndPlan(Plan *plan, EState *estate)
|
||||
{
|
||||
RelationInfo *resultRelationInfo;
|
||||
Relation intoRelationDesc;
|
||||
@ -699,9 +699,9 @@ EndPlan(Plan * plan, EState * estate)
|
||||
user can see it*/
|
||||
|
||||
static TupleTableSlot *
|
||||
ExecutePlan(EState * estate,
|
||||
Plan * plan,
|
||||
Query * parseTree,
|
||||
ExecutePlan(EState *estate,
|
||||
Plan *plan,
|
||||
Query *parseTree,
|
||||
CmdType operation,
|
||||
int numberTuples,
|
||||
ScanDirection direction,
|
||||
@ -898,9 +898,9 @@ ExecutePlan(EState * estate,
|
||||
* ----------------------------------------------------------------
|
||||
*/
|
||||
static void
|
||||
ExecRetrieve(TupleTableSlot * slot,
|
||||
ExecRetrieve(TupleTableSlot *slot,
|
||||
void (*printfunc) (),
|
||||
EState * estate)
|
||||
EState *estate)
|
||||
{
|
||||
HeapTuple tuple;
|
||||
TupleDesc attrtype;
|
||||
@ -941,9 +941,9 @@ ExecRetrieve(TupleTableSlot * slot,
|
||||
*/
|
||||
|
||||
static void
|
||||
ExecAppend(TupleTableSlot * slot,
|
||||
ExecAppend(TupleTableSlot *slot,
|
||||
ItemPointer tupleid,
|
||||
EState * estate)
|
||||
EState *estate)
|
||||
{
|
||||
HeapTuple tuple;
|
||||
RelationInfo *resultRelationInfo;
|
||||
@ -1046,9 +1046,9 @@ ExecAppend(TupleTableSlot * slot,
|
||||
* ----------------------------------------------------------------
|
||||
*/
|
||||
static void
|
||||
ExecDelete(TupleTableSlot * slot,
|
||||
ExecDelete(TupleTableSlot *slot,
|
||||
ItemPointer tupleid,
|
||||
EState * estate)
|
||||
EState *estate)
|
||||
{
|
||||
RelationInfo *resultRelationInfo;
|
||||
Relation resultRelationDesc;
|
||||
@ -1114,10 +1114,10 @@ ExecDelete(TupleTableSlot * slot,
|
||||
* ----------------------------------------------------------------
|
||||
*/
|
||||
static void
|
||||
ExecReplace(TupleTableSlot * slot,
|
||||
ExecReplace(TupleTableSlot *slot,
|
||||
ItemPointer tupleid,
|
||||
EState * estate,
|
||||
Query * parseTree)
|
||||
EState *estate,
|
||||
Query *parseTree)
|
||||
{
|
||||
HeapTuple tuple;
|
||||
RelationInfo *resultRelationInfo;
|
||||
|
Reference in New Issue
Block a user