1
0
mirror of https://github.com/postgres/postgres.git synced 2025-10-25 13:17:41 +03:00

Another pgindent run. Fixes enum indenting, and improves #endif

spacing.  Also adds space for one-line comments.
This commit is contained in:
Bruce Momjian
2001-10-28 06:26:15 +00:00
parent c29797deeb
commit 6783b2372e
525 changed files with 2429 additions and 2049 deletions

View File

@@ -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.18 2001/10/25 05:49:58 momjian Exp $
* $Id: async.h,v 1.19 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -35,4 +35,5 @@ extern void Async_NotifyHandler(SIGNAL_ARGS);
*/
extern void EnableNotifyInterrupt(void);
extern void DisableNotifyInterrupt(void);
#endif /* ASYNC_H */

View File

@@ -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.10 2001/10/25 05:49:58 momjian Exp $
* $Id: cluster.h,v 1.11 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -24,4 +24,5 @@
* functions
*/
extern void cluster(char *oldrelname, char *oldindexname);
#endif /* CLUSTER_H */

View File

@@ -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.29 2001/10/25 05:49:58 momjian Exp $
* $Id: command.h,v 1.30 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -71,4 +71,5 @@ extern void AlterTableOwner(const char *relationName, const char *newOwnerName);
* LOCK
*/
extern void LockTableCommand(LockStmt *lockstmt);
#endif /* COMMAND_H */

View File

@@ -31,4 +31,5 @@ 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 */

View File

@@ -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.14 2001/10/25 05:49:58 momjian Exp $
* $Id: copy.h,v 1.15 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,4 +18,5 @@ 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 */

View File

@@ -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.15 2001/10/25 05:49:58 momjian Exp $
* $Id: creatinh.h,v 1.16 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,4 +19,5 @@
extern void DefineRelation(CreateStmt *stmt, char relkind);
extern void RemoveRelation(char *name);
extern void TruncateRelation(char *name);
#endif /* CREATINH_H */

View File

@@ -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.17 2001/10/25 05:49:58 momjian Exp $
* $Id: dbcommands.h,v 1.18 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -17,4 +17,5 @@
extern void createdb(const char *dbname, const char *dbpath,
const char *dbtemplate, int encoding);
extern void dropdb(const char *dbname);
#endif /* DBCOMMANDS_H */

View File

@@ -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.26 2001/10/25 05:49:58 momjian Exp $
* $Id: defrem.h,v 1.27 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -48,4 +48,5 @@ extern void RemoveOperator(char *operatorName,
char *typeName1, char *typeName2);
extern void RemoveType(char *typeName);
extern void RemoveAggregate(char *aggName, char *aggType);
#endif /* DEFREM_H */

View File

@@ -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.13 2001/10/25 05:49:58 momjian Exp $
* $Id: explain.h,v 1.14 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -17,4 +17,5 @@
#include "tcop/dest.h"
extern void ExplainQuery(Query *query, bool verbose, bool analyze, CommandDest dest);
#endif /* EXPLAIN_H */

View File

@@ -13,4 +13,5 @@
extern void CreateProceduralLanguage(CreatePLangStmt *stmt);
extern void DropProceduralLanguage(DropPLangStmt *stmt);
#endif /* PROCLANG_H */

View File

@@ -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.11 2001/10/25 05:49:58 momjian Exp $
* $Id: rename.h,v 1.12 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,4 +21,5 @@ extern void renameatt(char *relname,
extern void renamerel(const char *oldrelname,
const char *newrelname);
#endif /* RENAME_H */

View File

@@ -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.17 2001/10/25 05:49:58 momjian Exp $
* $Id: sequence.h,v 1.18 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -89,4 +89,5 @@ 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 */

View File

@@ -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.28 2001/10/25 05:49:58 momjian Exp $
* $Id: trigger.h,v 1.29 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -160,4 +160,5 @@ extern void DeferredTriggerSetState(ConstraintsSetStmt *stmt);
*
*/
extern bool RI_FKey_keyequal_upd(TriggerData *trigdata);
#endif /* TRIGGER_H */

View File

@@ -3,7 +3,7 @@
* user.h
*
*
* $Id: user.h,v 1.14 2001/10/25 05:49:58 momjian Exp $
* $Id: user.h,v 1.15 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -21,4 +21,5 @@ extern void AlterGroup(AlterGroupStmt *stmt, const char *tag);
extern void DropGroup(DropGroupStmt *stmt);
extern Datum update_pg_pwd(PG_FUNCTION_ARGS);
#endif /* USER_H */

View File

@@ -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.41 2001/10/25 05:49:58 momjian Exp $
* $Id: vacuum.h,v 1.42 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -56,4 +56,5 @@ extern void lazy_vacuum_rel(Relation onerel, VacuumStmt *vacstmt);
/* in commands/analyze.c */
extern void analyze_rel(Oid relid, VacuumStmt *vacstmt);
#endif /* VACUUM_H */

View File

@@ -2,7 +2,7 @@
* Headers for handling of 'SET var TO', 'SHOW var' and 'RESET var'
* statements
*
* $Id: variable.h,v 1.15 2001/10/25 05:49:59 momjian Exp $
* $Id: variable.h,v 1.16 2001/10/28 06:26:06 momjian Exp $
*
*/
#ifndef VARIABLE_H
@@ -14,4 +14,5 @@ extern void ResetPGVariable(const char *name);
extern void set_default_datestyle(void);
extern void set_default_client_encoding(void);
#endif /* VARIABLE_H */

View File

@@ -7,10 +7,11 @@
* Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
* Portions Copyright (c) 1994, Regents of the University of California
*
* $Id: version.h,v 1.10 2001/10/25 05:49:59 momjian Exp $
* $Id: version.h,v 1.11 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef VERSION_H
#define VERSION_H
#endif /* VERSION_H */

View File

@@ -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.11 2001/10/25 05:49:59 momjian Exp $
* $Id: view.h,v 1.12 2001/10/28 06:26:06 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,4 +18,5 @@
extern void DefineView(char *view_name, Query *view_parse);
extern void RemoveView(char *view_name);
#endif /* VIEW_H */