mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
Pgindent run for 8.0.
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994-5, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/commands/cluster.h,v 1.25 2004/08/29 04:13:05 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/commands/cluster.h,v 1.26 2004/08/29 05:06:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -21,8 +21,8 @@ extern void cluster(ClusterStmt *stmt);
|
||||
|
||||
extern void check_index_is_clusterable(Relation OldHeap, Oid indexOid);
|
||||
extern void mark_index_clustered(Relation rel, Oid indexOid);
|
||||
extern Oid make_new_heap(Oid OIDOldHeap, const char *NewName,
|
||||
Oid NewTableSpace);
|
||||
extern Oid make_new_heap(Oid OIDOldHeap, const char *NewName,
|
||||
Oid NewTableSpace);
|
||||
extern void swap_relation_files(Oid r1, Oid r2);
|
||||
|
||||
#endif /* CLUSTER_H */
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/commands/defrem.h,v 1.60 2004/08/29 04:13:05 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/commands/defrem.h,v 1.61 2004/08/29 05:06:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -37,9 +37,9 @@ extern void ReindexIndex(RangeVar *indexRelation, bool force);
|
||||
extern void ReindexTable(RangeVar *relation, bool force);
|
||||
extern void ReindexDatabase(const char *databaseName, bool force, bool all);
|
||||
extern char *makeObjectName(const char *name1, const char *name2,
|
||||
const char *label);
|
||||
const char *label);
|
||||
extern char *ChooseRelationName(const char *name1, const char *name2,
|
||||
const char *label, Oid namespace);
|
||||
const char *label, Oid namespace);
|
||||
|
||||
/* commands/functioncmds.c */
|
||||
extern void CreateFunction(CreateFunctionStmt *stmt);
|
||||
@@ -58,7 +58,7 @@ extern void DefineOperator(List *names, List *parameters);
|
||||
extern void RemoveOperator(RemoveOperStmt *stmt);
|
||||
extern void RemoveOperatorById(Oid operOid);
|
||||
extern void AlterOperatorOwner(List *name, TypeName *typeName1,
|
||||
TypeName *typename2, AclId newOwnerSysId);
|
||||
TypeName *typename2, AclId newOwnerSysId);
|
||||
|
||||
/* commands/aggregatecmds.c */
|
||||
extern void DefineAggregate(List *names, List *parameters);
|
||||
@@ -71,7 +71,7 @@ extern void DefineOpClass(CreateOpClassStmt *stmt);
|
||||
extern void RemoveOpClass(RemoveOpClassStmt *stmt);
|
||||
extern void RemoveOpClassById(Oid opclassOid);
|
||||
extern void RenameOpClass(List *name, const char *access_method, const char *newname);
|
||||
extern void AlterOpClassOwner(List *name, const char *access_method, AclId newOwnerSysId);
|
||||
extern void AlterOpClassOwner(List *name, const char *access_method, AclId newOwnerSysId);
|
||||
|
||||
/* support routines in commands/define.c */
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 2002-2004, PostgreSQL Global Development Group
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.11 2004/08/29 04:13:05 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/commands/prepare.h,v 1.12 2004/08/29 05:06:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -43,7 +43,7 @@ typedef struct
|
||||
/* Utility statements PREPARE, EXECUTE, DEALLOCATE, EXPLAIN EXECUTE */
|
||||
extern void PrepareQuery(PrepareStmt *stmt);
|
||||
extern void ExecuteQuery(ExecuteStmt *stmt, DestReceiver *dest,
|
||||
char *completionTag);
|
||||
char *completionTag);
|
||||
extern void DeallocateQuery(DeallocateStmt *stmt);
|
||||
extern void ExplainExecuteQuery(ExplainStmt *stmt, TupOutputState *tstate);
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/commands/tablecmds.h,v 1.18 2004/08/29 04:13:06 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/commands/tablecmds.h,v 1.19 2004/08/29 05:06:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -44,7 +44,7 @@ extern void remove_on_commit_action(Oid relid);
|
||||
extern void PreCommit_on_commit_actions(void);
|
||||
extern void AtEOXact_on_commit_actions(bool isCommit, TransactionId xid);
|
||||
extern void AtEOSubXact_on_commit_actions(bool isCommit,
|
||||
TransactionId childXid,
|
||||
TransactionId parentXid);
|
||||
TransactionId childXid,
|
||||
TransactionId parentXid);
|
||||
|
||||
#endif /* TABLECMDS_H */
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/commands/trigger.h,v 1.47 2004/08/29 04:13:06 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/commands/trigger.h,v 1.48 2004/08/29 05:06:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -165,8 +165,8 @@ extern void DeferredTriggerSetState(ConstraintsSetStmt *stmt);
|
||||
* in utils/adt/ri_triggers.c
|
||||
*/
|
||||
extern bool RI_FKey_keyequal_upd(TriggerData *trigdata);
|
||||
extern bool RI_Initial_Check(FkConstraint *fkconstraint,
|
||||
Relation rel,
|
||||
Relation pkrel);
|
||||
extern bool RI_Initial_Check(FkConstraint *fkconstraint,
|
||||
Relation rel,
|
||||
Relation pkrel);
|
||||
|
||||
#endif /* TRIGGER_H */
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* Commands for manipulating users and groups.
|
||||
*
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/commands/user.h,v 1.23 2004/07/28 14:23:31 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/commands/user.h,v 1.24 2004/08/29 05:06:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -33,6 +33,6 @@ extern Datum update_pg_pwd_and_pg_group(PG_FUNCTION_ARGS);
|
||||
|
||||
extern void AtEOXact_UpdatePasswordFile(bool isCommit);
|
||||
extern void AtEOSubXact_UpdatePasswordFile(bool isCommit, TransactionId myXid,
|
||||
TransactionId parentXid);
|
||||
TransactionId parentXid);
|
||||
|
||||
#endif /* USER_H */
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2004, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.56 2004/08/29 04:13:06 momjian Exp $
|
||||
* $PostgreSQL: pgsql/src/include/commands/vacuum.h,v 1.57 2004/08/29 05:06:56 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -32,12 +32,12 @@
|
||||
|
||||
/*----------
|
||||
* ANALYZE builds one of these structs for each attribute (column) that is
|
||||
* to be analyzed. The struct and subsidiary data are in anl_context,
|
||||
* to be analyzed. The struct and subsidiary data are in anl_context,
|
||||
* so they live until the end of the ANALYZE operation.
|
||||
*
|
||||
* The type-specific typanalyze function is passed a pointer to this struct
|
||||
* and must return TRUE to continue analysis, FALSE to skip analysis of this
|
||||
* column. In the TRUE case it must set the compute_stats and minrows fields,
|
||||
* column. In the TRUE case it must set the compute_stats and minrows fields,
|
||||
* and can optionally set extra_data to pass additional info to compute_stats.
|
||||
* minrows is its request for the minimum number of sample rows to be gathered
|
||||
* (but note this request might not be honored, eg if there are fewer rows
|
||||
@@ -62,7 +62,7 @@
|
||||
typedef struct VacAttrStats *VacAttrStatsP;
|
||||
|
||||
typedef Datum (*AnalyzeAttrFetchFunc) (VacAttrStatsP stats, int rownum,
|
||||
bool *isNull);
|
||||
bool *isNull);
|
||||
|
||||
typedef struct VacAttrStats
|
||||
{
|
||||
@@ -75,13 +75,13 @@ typedef struct VacAttrStats
|
||||
MemoryContext anl_context; /* where to save long-lived data */
|
||||
|
||||
/*
|
||||
* These fields must be filled in by the typanalyze routine,
|
||||
* unless it returns FALSE.
|
||||
* These fields must be filled in by the typanalyze routine, unless it
|
||||
* returns FALSE.
|
||||
*/
|
||||
void (*compute_stats) (VacAttrStatsP stats,
|
||||
AnalyzeAttrFetchFunc fetchfunc,
|
||||
int samplerows,
|
||||
double totalrows);
|
||||
void (*compute_stats) (VacAttrStatsP stats,
|
||||
AnalyzeAttrFetchFunc fetchfunc,
|
||||
int samplerows,
|
||||
double totalrows);
|
||||
int minrows; /* Minimum # of rows wanted for stats */
|
||||
void *extra_data; /* for extra type-specific data */
|
||||
|
||||
@@ -101,8 +101,8 @@ typedef struct VacAttrStats
|
||||
Datum *stavalues[STATISTIC_NUM_SLOTS];
|
||||
|
||||
/*
|
||||
* These fields are private to the main ANALYZE code and should not
|
||||
* be looked at by type-specific functions.
|
||||
* These fields are private to the main ANALYZE code and should not be
|
||||
* looked at by type-specific functions.
|
||||
*/
|
||||
int tupattnum; /* attribute number within tuples */
|
||||
HeapTuple *rows; /* access info for std fetch function */
|
||||
@@ -121,7 +121,7 @@ typedef struct VacRUsage
|
||||
} VacRUsage;
|
||||
|
||||
/* Default statistics target (GUC parameter) */
|
||||
extern DLLIMPORT int default_statistics_target; /* DLLIMPORT for PostGIS */
|
||||
extern DLLIMPORT int default_statistics_target; /* DLLIMPORT for PostGIS */
|
||||
|
||||
|
||||
/* in commands/vacuum.c */
|
||||
|
||||
Reference in New Issue
Block a user