diff options
author | Bruce Momjian | 2001-10-25 05:50:21 +0000 |
---|---|---|
committer | Bruce Momjian | 2001-10-25 05:50:21 +0000 |
commit | b81844b1738c584d92330a5ccd0fbd8b603d2886 (patch) | |
tree | 4fae0d4cd26048177fc5cd1a2dd91abc99ba0f99 /src/include/commands | |
parent | 59da2105d8e6d95345b3b942a2e2aba8cead4838 (diff) |
pgindent run on all C files. Java run to follow. initdb/regression
tests pass.
Diffstat (limited to 'src/include/commands')
-rw-r--r-- | src/include/commands/async.h | 3 | ||||
-rw-r--r-- | src/include/commands/cluster.h | 3 | ||||
-rw-r--r-- | src/include/commands/command.h | 11 | ||||
-rw-r--r-- | src/include/commands/comment.h | 1 | ||||
-rw-r--r-- | src/include/commands/copy.h | 3 | ||||
-rw-r--r-- | src/include/commands/creatinh.h | 3 | ||||
-rw-r--r-- | src/include/commands/dbcommands.h | 3 | ||||
-rw-r--r-- | src/include/commands/defrem.h | 3 | ||||
-rw-r--r-- | src/include/commands/explain.h | 3 | ||||
-rw-r--r-- | src/include/commands/proclang.h | 1 | ||||
-rw-r--r-- | src/include/commands/rename.h | 3 | ||||
-rw-r--r-- | src/include/commands/sequence.h | 3 | ||||
-rw-r--r-- | src/include/commands/trigger.h | 31 | ||||
-rw-r--r-- | src/include/commands/user.h | 3 | ||||
-rw-r--r-- | src/include/commands/vacuum.h | 19 | ||||
-rw-r--r-- | src/include/commands/variable.h | 3 | ||||
-rw-r--r-- | src/include/commands/version.h | 3 | ||||
-rw-r--r-- | src/include/commands/view.h | 3 |
18 files changed, 42 insertions, 60 deletions
diff --git a/src/include/commands/async.h b/src/include/commands/async.h index 35dcf0bfe08..ccc6a3636bd 100644 --- a/src/include/commands/async.h +++ b/src/include/commands/async.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: async.h,v 1.17 2001/01/24 19:43:23 momjian Exp $ + * $Id: async.h,v 1.18 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -35,5 +35,4 @@ extern void Async_NotifyHandler(SIGNAL_ARGS); */ extern void EnableNotifyInterrupt(void); extern void DisableNotifyInterrupt(void); - #endif /* ASYNC_H */ diff --git a/src/include/commands/cluster.h b/src/include/commands/cluster.h index cf6ca225e19..cafb18ff54d 100644 --- a/src/include/commands/cluster.h +++ b/src/include/commands/cluster.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994-5, Regents of the University of California * - * $Id: cluster.h,v 1.9 2001/01/24 19:43:23 momjian Exp $ + * $Id: cluster.h,v 1.10 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -24,5 +24,4 @@ * functions */ extern void cluster(char *oldrelname, char *oldindexname); - #endif /* CLUSTER_H */ diff --git a/src/include/commands/command.h b/src/include/commands/command.h index 78aa06a2dfb..95530fda35a 100644 --- a/src/include/commands/command.h +++ b/src/include/commands/command.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: command.h,v 1.28 2001/10/12 00:07:15 tgl Exp $ + * $Id: command.h,v 1.29 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -44,12 +44,12 @@ extern void AlterTableAddColumn(const char *relationName, bool inh, ColumnDef *colDef); extern void AlterTableAlterColumnDefault(const char *relationName, - bool inh, const char *colName, - Node *newDefault); + bool inh, const char *colName, + Node *newDefault); extern void AlterTableAlterColumnStatistics(const char *relationName, - bool inh, const char *colName, - Node *statsTarget); + bool inh, const char *colName, + Node *statsTarget); extern void AlterTableDropColumn(const char *relationName, bool inh, const char *colName, @@ -71,5 +71,4 @@ extern void AlterTableOwner(const char *relationName, const char *newOwnerName); * LOCK */ extern void LockTableCommand(LockStmt *lockstmt); - #endif /* COMMAND_H */ diff --git a/src/include/commands/comment.h b/src/include/commands/comment.h index 371f918b6e8..410c6dc7f68 100644 --- a/src/include/commands/comment.h +++ b/src/include/commands/comment.h @@ -31,5 +31,4 @@ extern void CommentObject(int objtype, char *objname, char *objproperty, extern void DeleteComments(Oid oid, Oid classoid); extern void CreateComments(Oid oid, Oid classoid, int32 subid, char *comment); - #endif /* COMMENT_H */ diff --git a/src/include/commands/copy.h b/src/include/commands/copy.h index 9b487f2f375..04ca68668df 100644 --- a/src/include/commands/copy.h +++ b/src/include/commands/copy.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: copy.h,v 1.13 2001/06/08 21:16:48 petere Exp $ + * $Id: copy.h,v 1.14 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,5 +18,4 @@ extern int copy_lineno; void DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe, char *filename, char *delim, char *null_print); - #endif /* COPY_H */ diff --git a/src/include/commands/creatinh.h b/src/include/commands/creatinh.h index 7860c102cd5..fd1db12fd95 100644 --- a/src/include/commands/creatinh.h +++ b/src/include/commands/creatinh.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: creatinh.h,v 1.14 2001/01/24 19:43:23 momjian Exp $ + * $Id: creatinh.h,v 1.15 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -19,5 +19,4 @@ extern void DefineRelation(CreateStmt *stmt, char relkind); extern void RemoveRelation(char *name); extern void TruncateRelation(char *name); - #endif /* CREATINH_H */ diff --git a/src/include/commands/dbcommands.h b/src/include/commands/dbcommands.h index 39f5b3da595..3489b9d2792 100644 --- a/src/include/commands/dbcommands.h +++ b/src/include/commands/dbcommands.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: dbcommands.h,v 1.16 2001/03/22 04:00:42 momjian Exp $ + * $Id: dbcommands.h,v 1.17 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -17,5 +17,4 @@ extern void createdb(const char *dbname, const char *dbpath, const char *dbtemplate, int encoding); extern void dropdb(const char *dbname); - #endif /* DBCOMMANDS_H */ diff --git a/src/include/commands/defrem.h b/src/include/commands/defrem.h index d2c01862d96..52b760a4bf8 100644 --- a/src/include/commands/defrem.h +++ b/src/include/commands/defrem.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: defrem.h,v 1.25 2001/09/08 01:10:21 tgl Exp $ + * $Id: defrem.h,v 1.26 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -48,5 +48,4 @@ extern void RemoveOperator(char *operatorName, char *typeName1, char *typeName2); extern void RemoveType(char *typeName); extern void RemoveAggregate(char *aggName, char *aggType); - #endif /* DEFREM_H */ diff --git a/src/include/commands/explain.h b/src/include/commands/explain.h index d40bc896ac5..013ae16596e 100644 --- a/src/include/commands/explain.h +++ b/src/include/commands/explain.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994-5, Regents of the University of California * - * $Id: explain.h,v 1.12 2001/09/18 01:59:06 tgl Exp $ + * $Id: explain.h,v 1.13 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -17,5 +17,4 @@ #include "tcop/dest.h" extern void ExplainQuery(Query *query, bool verbose, bool analyze, CommandDest dest); - #endif /* EXPLAIN_H */ diff --git a/src/include/commands/proclang.h b/src/include/commands/proclang.h index 42276055e6c..29dcb32a127 100644 --- a/src/include/commands/proclang.h +++ b/src/include/commands/proclang.h @@ -13,5 +13,4 @@ extern void CreateProceduralLanguage(CreatePLangStmt *stmt); extern void DropProceduralLanguage(DropPLangStmt *stmt); - #endif /* PROCLANG_H */ diff --git a/src/include/commands/rename.h b/src/include/commands/rename.h index 569cbb921c3..18b6d1e2bb7 100644 --- a/src/include/commands/rename.h +++ b/src/include/commands/rename.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: rename.h,v 1.10 2001/01/24 19:43:23 momjian Exp $ + * $Id: rename.h,v 1.11 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -21,5 +21,4 @@ extern void renameatt(char *relname, extern void renamerel(const char *oldrelname, const char *newrelname); - #endif /* RENAME_H */ diff --git a/src/include/commands/sequence.h b/src/include/commands/sequence.h index 77a5470f439..a128491212b 100644 --- a/src/include/commands/sequence.h +++ b/src/include/commands/sequence.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: sequence.h,v 1.16 2001/08/16 20:38:55 tgl Exp $ + * $Id: sequence.h,v 1.17 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -89,5 +89,4 @@ extern void CloseSequences(void); extern void seq_redo(XLogRecPtr lsn, XLogRecord *rptr); extern void seq_undo(XLogRecPtr lsn, XLogRecord *rptr); extern void seq_desc(char *buf, uint8 xl_info, char *rec); - #endif /* SEQUENCE_H */ diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h index ddb9a327db0..6ab58804132 100644 --- a/src/include/commands/trigger.h +++ b/src/include/commands/trigger.h @@ -6,7 +6,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: trigger.h,v 1.27 2001/06/01 02:41:36 tgl Exp $ + * $Id: trigger.h,v 1.28 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -90,25 +90,25 @@ extern void FreeTriggerDesc(TriggerDesc *trigdesc); extern bool equalTriggerDescs(TriggerDesc *trigdesc1, TriggerDesc *trigdesc2); extern HeapTuple ExecBRInsertTriggers(EState *estate, - ResultRelInfo *relinfo, - HeapTuple trigtuple); + ResultRelInfo *relinfo, + HeapTuple trigtuple); extern void ExecARInsertTriggers(EState *estate, - ResultRelInfo *relinfo, - HeapTuple trigtuple); + ResultRelInfo *relinfo, + HeapTuple trigtuple); extern bool ExecBRDeleteTriggers(EState *estate, - ResultRelInfo *relinfo, - ItemPointer tupleid); + ResultRelInfo *relinfo, + ItemPointer tupleid); extern void ExecARDeleteTriggers(EState *estate, - ResultRelInfo *relinfo, - ItemPointer tupleid); + ResultRelInfo *relinfo, + ItemPointer tupleid); extern HeapTuple ExecBRUpdateTriggers(EState *estate, - ResultRelInfo *relinfo, - ItemPointer tupleid, - HeapTuple newtuple); + ResultRelInfo *relinfo, + ItemPointer tupleid, + HeapTuple newtuple); extern void ExecARUpdateTriggers(EState *estate, - ResultRelInfo *relinfo, - ItemPointer tupleid, - HeapTuple newtuple); + ResultRelInfo *relinfo, + ItemPointer tupleid, + HeapTuple newtuple); /* ---------- @@ -160,5 +160,4 @@ extern void DeferredTriggerSetState(ConstraintsSetStmt *stmt); * */ extern bool RI_FKey_keyequal_upd(TriggerData *trigdata); - #endif /* TRIGGER_H */ diff --git a/src/include/commands/user.h b/src/include/commands/user.h index 489fd98c853..080c8f0c785 100644 --- a/src/include/commands/user.h +++ b/src/include/commands/user.h @@ -3,7 +3,7 @@ * user.h * * - * $Id: user.h,v 1.13 2000/06/15 03:32:35 momjian Exp $ + * $Id: user.h,v 1.14 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -21,5 +21,4 @@ extern void AlterGroup(AlterGroupStmt *stmt, const char *tag); extern void DropGroup(DropGroupStmt *stmt); extern Datum update_pg_pwd(PG_FUNCTION_ARGS); - #endif /* USER_H */ diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h index 5d1541ef3ba..ed873c86402 100644 --- a/src/include/commands/vacuum.h +++ b/src/include/commands/vacuum.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: vacuum.h,v 1.40 2001/08/26 16:56:02 tgl Exp $ + * $Id: vacuum.h,v 1.41 2001/10/25 05:49:58 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -30,23 +30,23 @@ /* State structure for vac_init_rusage/vac_show_rusage */ typedef struct VacRUsage { - struct timeval tv; - struct rusage ru; + struct timeval tv; + struct rusage ru; } VacRUsage; /* in commands/vacuum.c */ extern void vacuum(VacuumStmt *vacstmt); extern void vac_open_indexes(Relation relation, int *nindexes, - Relation **Irel); + Relation **Irel); extern void vac_close_indexes(int nindexes, Relation *Irel); extern void vac_update_relstats(Oid relid, - BlockNumber num_pages, - double num_tuples, - bool hasindex); + BlockNumber num_pages, + double num_tuples, + bool hasindex); extern void vacuum_set_xid_limits(VacuumStmt *vacstmt, bool sharedRel, - TransactionId *oldestXmin, - TransactionId *freezeLimit); + TransactionId *oldestXmin, + TransactionId *freezeLimit); extern bool vac_is_partial_index(Relation indrel); extern void vac_init_rusage(VacRUsage *ru0); extern const char *vac_show_rusage(VacRUsage *ru0); @@ -56,5 +56,4 @@ extern void lazy_vacuum_rel(Relation onerel, VacuumStmt *vacstmt); /* in commands/analyze.c */ extern void analyze_rel(Oid relid, VacuumStmt *vacstmt); - #endif /* VACUUM_H */ diff --git a/src/include/commands/variable.h b/src/include/commands/variable.h index 75e88b806bc..c1eb655d9da 100644 --- a/src/include/commands/variable.h +++ b/src/include/commands/variable.h @@ -2,7 +2,7 @@ * Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var' * statements * - * $Id: variable.h,v 1.14 2001/10/18 17:30:16 thomas Exp $ + * $Id: variable.h,v 1.15 2001/10/25 05:49:59 momjian Exp $ * */ #ifndef VARIABLE_H @@ -14,5 +14,4 @@ extern void ResetPGVariable(const char *name); extern void set_default_datestyle(void); extern void set_default_client_encoding(void); - #endif /* VARIABLE_H */ diff --git a/src/include/commands/version.h b/src/include/commands/version.h index 0198659b49c..18e9a3b2f38 100644 --- a/src/include/commands/version.h +++ b/src/include/commands/version.h @@ -7,11 +7,10 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: version.h,v 1.9 2001/01/24 19:43:23 momjian Exp $ + * $Id: version.h,v 1.10 2001/10/25 05:49:59 momjian Exp $ * *------------------------------------------------------------------------- */ #ifndef VERSION_H #define VERSION_H - #endif /* VERSION_H */ diff --git a/src/include/commands/view.h b/src/include/commands/view.h index b4b3d3228f8..d75464ec09d 100644 --- a/src/include/commands/view.h +++ b/src/include/commands/view.h @@ -7,7 +7,7 @@ * Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $Id: view.h,v 1.10 2001/08/12 21:35:19 tgl Exp $ + * $Id: view.h,v 1.11 2001/10/25 05:49:59 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -18,5 +18,4 @@ extern void DefineView(char *view_name, Query *view_parse); extern void RemoveView(char *view_name); - #endif /* VIEW_H */ |