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

OK, folks, here is the pgindent output.

This commit is contained in:
Bruce Momjian
1998-09-01 04:40:42 +00:00
parent af74855a60
commit fa1a8d6a97
574 changed files with 26509 additions and 24033 deletions

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: async.h,v 1.8 1998/08/25 21:37:00 scrappy Exp $
* $Id: async.h,v 1.9 1998/09/01 04:35:22 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -24,4 +24,4 @@ extern void Async_Unlisten(char *relname, int pid);
extern GlobalMemory notifyContext;
#endif /* ASYNC_H */
#endif /* ASYNC_H */

View File

@@ -5,7 +5,7 @@
*
* Copyright (c) 1994-5, Regents of the University of California
*
* $Id: cluster.h,v 1.5 1998/09/01 03:28:02 momjian Exp $
* $Id: cluster.h,v 1.6 1998/09/01 04:35:23 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -24,4 +24,4 @@
*/
extern void cluster(char *oldrelname, char *oldindexname);
#endif /* CLUSTER_H */
#endif /* CLUSTER_H */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: command.h,v 1.9 1998/02/26 04:41:04 momjian Exp $
* $Id: command.h,v 1.10 1998/09/01 04:35:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -26,8 +26,7 @@ extern MemoryContext PortalExecutorHeapMemory;
* BadArg if forward invalid.
* "WARN" if portal not found.
*/
extern void
PerformPortalFetch(char *name, bool forward, int count,
extern void PerformPortalFetch(char *name, bool forward, int count,
char *tag, CommandDest dest);
/*
@@ -42,8 +41,7 @@ extern void PortalCleanup(Portal portal);
* PerformAddAttribute --
* Performs the POSTQUEL function ADD.
*/
extern void
PerformAddAttribute(char *relationName, char *userName,
extern void PerformAddAttribute(char *relationName, char *userName,
bool inh, ColumnDef *colDef);
#endif /* COMMAND_H */
#endif /* COMMAND_H */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: copy.h,v 1.3 1997/09/07 04:57:23 momjian Exp $
* $Id: copy.h,v 1.4 1998/09/01 04:35:26 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -14,8 +14,7 @@
#define COPY_H
void
DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe, char *filename,
void DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe, char *filename,
char *delim);
#endif /* COPY_H */
#endif /* COPY_H */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: creatinh.h,v 1.7 1998/08/06 05:13:10 momjian Exp $
* $Id: creatinh.h,v 1.8 1998/09/01 04:35:27 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -18,4 +18,4 @@
extern void DefineRelation(CreateStmt *stmt, char relkind);
extern void RemoveRelation(char *name);
#endif /* CREATINH_H */
#endif /* CREATINH_H */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: dbcommands.h,v 1.5 1998/08/24 01:14:20 momjian Exp $
* $Id: dbcommands.h,v 1.6 1998/09/01 04:35:29 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -22,4 +22,4 @@
extern void createdb(char *dbname, char *dbpath, int encoding);
extern void destroydb(char *dbname);
#endif /* DBCOMMANDS_H */
#endif /* DBCOMMANDS_H */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: defrem.h,v 1.12 1998/02/26 04:41:06 momjian Exp $
* $Id: defrem.h,v 1.13 1998/09/01 04:35:30 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,8 +19,7 @@
/*
* prototypes in defind.c
*/
extern void
DefineIndex(char *heapRelationName,
extern void DefineIndex(char *heapRelationName,
char *indexRelationName,
char *accessMethodName,
List *attributeList,
@@ -28,8 +27,7 @@ DefineIndex(char *heapRelationName,
bool unique,
Expr *predicate,
List *rangetable);
extern void
ExtendIndex(char *indexRelationName,
extern void ExtendIndex(char *indexRelationName,
Expr *predicate,
List *rangetable);
extern void RemoveIndex(char *name);
@@ -47,10 +45,9 @@ extern void CreateFunction(ProcedureStmt *stmt, CommandDest dest);
* prototypes in remove.c
*/
extern void RemoveFunction(char *functionName, int nargs, List *argNameList);
extern void
RemoveOperator(char *operatorName,
extern void RemoveOperator(char *operatorName,
char *typeName1, char *typeName2);
extern void RemoveType(char *typeName);
extern void RemoveAggregate(char *aggName, char *aggType);
#endif /* DEFREM_H */
#endif /* DEFREM_H */

View File

@@ -5,7 +5,7 @@
*
* Copyright (c) 1994-5, Regents of the University of California
*
* $Id: explain.h,v 1.6 1997/11/26 01:12:16 momjian Exp $
* $Id: explain.h,v 1.7 1998/09/01 04:35:31 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -17,4 +17,4 @@
extern void ExplainQuery(Query *query, bool verbose, CommandDest dest);
#endif /* EXPLAIN_H */
#endif /* EXPLAIN_H */

View File

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

View File

@@ -5,7 +5,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: recipe.h,v 1.5 1997/11/26 01:12:24 momjian Exp $
* $Id: recipe.h,v 1.6 1998/09/01 04:35:33 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -16,4 +16,4 @@
extern void beginRecipe(RecipeStmt *stmt);
#endif /* RECIPE_H */
#endif /* RECIPE_H */

View File

@@ -6,21 +6,19 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: rename.h,v 1.4 1998/02/26 04:41:08 momjian Exp $
* $Id: rename.h,v 1.5 1998/09/01 04:35:34 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef RENAME_H
#define RENAME_H
extern void
renameatt(char *relname,
extern void renameatt(char *relname,
char *oldattname,
char *newattname,
char *userName, int recurse);
extern void
renamerel(char *oldrelname,
extern void renamerel(char *oldrelname,
char *newrelname);
#endif /* RENAME_H */
#endif /* RENAME_H */

View File

@@ -30,7 +30,7 @@
extern void DefineSequence(CreateSeqStmt *stmt);
extern int4 nextval(struct varlena * seqname);
extern int4 currval(struct varlena * seqname);
extern int4 setval (struct varlena * seqname, int4 next);
extern int4 setval(struct varlena * seqname, int4 next);
extern void CloseSequences(void);
#endif /* SEQUENCE_H */
#endif /* SEQUENCE_H */

View File

@@ -70,4 +70,4 @@ extern void ExecARDeleteTriggers(Relation rel, ItemPointer tupleid);
extern HeapTuple ExecBRUpdateTriggers(Relation rel, ItemPointer tupleid, HeapTuple tuple);
extern void ExecARUpdateTriggers(Relation rel, ItemPointer tupleid, HeapTuple tuple);
#endif /* TRIGGER_H */
#endif /* TRIGGER_H */

View File

@@ -14,4 +14,4 @@ extern void DefineUser(CreateUserStmt *stmt);
extern void AlterUser(AlterUserStmt *stmt);
extern void RemoveUser(char *user);
#endif /* USER_H */
#endif /* USER_H */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: vacuum.h,v 1.15 1998/09/01 03:28:04 momjian Exp $
* $Id: vacuum.h,v 1.16 1998/09/01 04:35:39 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -33,9 +33,11 @@ typedef struct VPageDescrData
{
BlockNumber vpd_blkno; /* BlockNumber of this Page */
Size vpd_free; /* FreeSpace on this Page */
uint16 vpd_offsets_used; /* Number of OffNums used by vacuum */
uint16 vpd_offsets_free; /* Number of OffNums free or to be free */
OffsetNumber vpd_offsets[1]; /* Array of its OffNums */
uint16 vpd_offsets_used; /* Number of OffNums used by
* vacuum */
uint16 vpd_offsets_free; /* Number of OffNums free or to be
* free */
OffsetNumber vpd_offsets[1];/* Array of its OffNums */
} VPageDescrData;
typedef VPageDescrData *VPageDescr;
@@ -43,7 +45,7 @@ typedef VPageDescrData *VPageDescr;
typedef struct VPageListData
{
int vpl_empty_end_pages; /* Number of "empty" end-pages */
int vpl_num_pages; /* Number of pages in vpl_pagedesc */
int vpl_num_pages; /* Number of pages in vpl_pagedesc */
VPageDescr *vpl_pagedesc; /* Descriptions of pages */
} VPageListData;
@@ -112,4 +114,4 @@ extern void vacuum(char *vacrel, bool verbose, bool analyze, List *va_spec);
#define ATTNVALS_SCALE 1000000000 /* XXX so it can act as a float4 */
#endif /* VACUUM_H */
#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.5 1998/07/26 04:31:24 scrappy Exp $
* $Id: variable.h,v 1.6 1998/09/01 04:35:40 momjian Exp $
*
*/
#ifndef VARIABLE_H
@@ -55,4 +55,4 @@ extern bool show_geqo(void);
extern bool reset_geqo(void);
extern bool parse_geqo(const char *);
#endif /* VARIABLE_H */
#endif /* VARIABLE_H */

View File

@@ -6,11 +6,11 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: version.h,v 1.5 1997/09/07 04:57:35 momjian Exp $
* $Id: version.h,v 1.6 1998/09/01 04:35:41 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef VERSION_H
#define VERSION_H
#endif /* VERSION_H */
#endif /* VERSION_H */

View File

@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: view.h,v 1.5 1997/11/26 01:12:33 momjian Exp $
* $Id: view.h,v 1.6 1998/09/01 04:35:43 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -19,4 +19,4 @@ extern char *MakeRetrieveViewRuleName(char *view_name);
extern void DefineView(char *view_name, Query *view_parse);
extern void RemoveView(char *view_name);
#endif /* VIEW_H */
#endif /* VIEW_H */