mirror of
https://github.com/postgres/postgres.git
synced 2025-10-25 13:17:41 +03:00
pgindent run.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: conversioncmds.h,v 1.2 2002/07/25 10:07:13 ishii Exp $
|
||||
* $Id: conversioncmds.h,v 1.3 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -20,4 +20,4 @@
|
||||
extern void CreateConversionCommand(CreateConversionStmt *parsetree);
|
||||
extern void DropConversionCommand(List *conversion_name, DropBehavior behavior);
|
||||
|
||||
#endif /* CONVERSIONCMDS_H */
|
||||
#endif /* CONVERSIONCMDS_H */
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: copy.h,v 1.19 2002/06/20 20:29:49 momjian Exp $
|
||||
* $Id: copy.h,v 1.20 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -19,6 +19,6 @@
|
||||
|
||||
extern int copy_lineno;
|
||||
|
||||
void DoCopy(const CopyStmt *stmt);
|
||||
void DoCopy(const CopyStmt *stmt);
|
||||
|
||||
#endif /* COPY_H */
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: defrem.h,v 1.44 2002/08/15 16:36:07 momjian Exp $
|
||||
* $Id: defrem.h,v 1.45 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -58,7 +58,7 @@ extern void RemoveType(List *names, DropBehavior behavior);
|
||||
extern void RemoveTypeById(Oid typeOid);
|
||||
extern void DefineDomain(CreateDomainStmt *stmt);
|
||||
extern void RemoveDomain(List *names, DropBehavior behavior);
|
||||
extern Oid DefineCompositeType(const RangeVar *typevar, List *coldeflist);
|
||||
extern Oid DefineCompositeType(const RangeVar *typevar, List *coldeflist);
|
||||
|
||||
extern void DefineOpClass(CreateOpClassStmt *stmt);
|
||||
extern void RemoveOpClass(RemoveOpClassStmt *stmt);
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: lockcmds.h,v 1.1 2002/04/15 05:22:03 tgl Exp $
|
||||
* $Id: lockcmds.h,v 1.2 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -21,4 +21,4 @@
|
||||
*/
|
||||
extern void LockTableCommand(LockStmt *lockstmt);
|
||||
|
||||
#endif /* LOCKCMDS_H */
|
||||
#endif /* LOCKCMDS_H */
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: portalcmds.h,v 1.1 2002/04/15 05:22:03 tgl Exp $
|
||||
* $Id: portalcmds.h,v 1.2 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -26,7 +26,7 @@
|
||||
* "ERROR" if portal not found.
|
||||
*/
|
||||
extern void PerformPortalFetch(char *name, bool forward, int count,
|
||||
CommandDest dest, char *completionTag);
|
||||
CommandDest dest, char *completionTag);
|
||||
|
||||
/*
|
||||
* PerformPortalClose
|
||||
@@ -36,4 +36,4 @@ extern void PerformPortalClose(char *name, CommandDest dest);
|
||||
|
||||
extern void PortalCleanup(Portal portal);
|
||||
|
||||
#endif /* PORTALCMDS_H */
|
||||
#endif /* PORTALCMDS_H */
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Copyright (c) 2002, PostgreSQL Global Development Group
|
||||
*
|
||||
* $Id: prepare.h,v 1.1 2002/08/27 04:55:11 tgl Exp $
|
||||
* $Id: prepare.h,v 1.2 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -26,4 +26,4 @@ extern void DeallocateQuery(DeallocateStmt *stmt);
|
||||
|
||||
extern List *FetchQueryParams(const char *plan_name);
|
||||
|
||||
#endif /* PREPARE_H */
|
||||
#endif /* PREPARE_H */
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: schemacmds.h,v 1.2 2002/07/18 16:47:26 tgl Exp $
|
||||
* $Id: schemacmds.h,v 1.3 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -22,4 +22,4 @@ extern void CreateSchemaCommand(CreateSchemaStmt *parsetree);
|
||||
extern void RemoveSchema(List *names, DropBehavior behavior);
|
||||
extern void RemoveSchemaById(Oid schemaOid);
|
||||
|
||||
#endif /* SCHEMACMDS_H */
|
||||
#endif /* SCHEMACMDS_H */
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: tablecmds.h,v 1.6 2002/08/30 19:23:20 tgl Exp $
|
||||
* $Id: tablecmds.h,v 1.7 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -17,32 +17,32 @@
|
||||
#include "nodes/parsenodes.h"
|
||||
|
||||
extern void AlterTableAddColumn(Oid myrelid, bool recurse, bool recursing,
|
||||
ColumnDef *colDef);
|
||||
ColumnDef *colDef);
|
||||
|
||||
extern void AlterTableAlterColumnDropNotNull(Oid myrelid, bool recurse,
|
||||
const char *colName);
|
||||
const char *colName);
|
||||
|
||||
extern void AlterTableAlterColumnSetNotNull(Oid myrelid, bool recurse,
|
||||
const char *colName);
|
||||
const char *colName);
|
||||
|
||||
extern void AlterTableAlterColumnDefault(Oid myrelid, bool recurse,
|
||||
const char *colName,
|
||||
Node *newDefault);
|
||||
const char *colName,
|
||||
Node *newDefault);
|
||||
|
||||
extern void AlterTableAlterColumnFlags(Oid myrelid, bool recurse,
|
||||
const char *colName,
|
||||
Node *flagValue, const char *flagType);
|
||||
const char *colName,
|
||||
Node *flagValue, const char *flagType);
|
||||
|
||||
extern void AlterTableDropColumn(Oid myrelid, bool recurse, bool recursing,
|
||||
const char *colName,
|
||||
DropBehavior behavior);
|
||||
const char *colName,
|
||||
DropBehavior behavior);
|
||||
|
||||
extern void AlterTableAddConstraint(Oid myrelid, bool recurse,
|
||||
List *newConstraints);
|
||||
List *newConstraints);
|
||||
|
||||
extern void AlterTableDropConstraint(Oid myrelid, bool recurse,
|
||||
const char *constrName,
|
||||
DropBehavior behavior);
|
||||
const char *constrName,
|
||||
DropBehavior behavior);
|
||||
|
||||
extern void AlterTableCreateToastTable(Oid relOid, bool silent);
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
* Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $Id: trigger.h,v 1.37 2002/07/12 18:43:19 tgl Exp $
|
||||
* $Id: trigger.h,v 1.38 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -77,22 +77,23 @@ typedef struct TriggerData
|
||||
|
||||
/*
|
||||
* RI trigger function arguments are stored in pg_trigger.tgargs bytea
|
||||
*
|
||||
* constrname\0fkrel\0pkrel\0matchtype\0fkatt\0pkatt\0fkatt\0pkatt\0...
|
||||
*
|
||||
* constrname\0fkrel\0pkrel\0matchtype\0fkatt\0pkatt\0fkatt\0pkatt\0...
|
||||
*
|
||||
* There are one or more pairs of fkatt/pkatt names.
|
||||
*
|
||||
* The relation names are no longer of much use since they are not
|
||||
* guaranteed unique; they are present only for backwards compatibility.
|
||||
* Use the tgrelid and tgconstrrelid fields to identify the referenced
|
||||
* relations, instead. (But note that which is which will depend on which
|
||||
* relations, instead. (But note that which is which will depend on which
|
||||
* trigger you are looking at!)
|
||||
*/
|
||||
#define RI_CONSTRAINT_NAME_ARGNO 0
|
||||
#define RI_FK_RELNAME_ARGNO 1
|
||||
#define RI_PK_RELNAME_ARGNO 2
|
||||
#define RI_MATCH_TYPE_ARGNO 3
|
||||
#define RI_FIRST_ATTNAME_ARGNO 4 /* first attname pair starts here */
|
||||
#define RI_FIRST_ATTNAME_ARGNO 4 /* first attname pair
|
||||
* starts here */
|
||||
|
||||
#define RI_KEYPAIR_FK_IDX 0
|
||||
#define RI_KEYPAIR_PK_IDX 1
|
||||
@@ -104,7 +105,7 @@ typedef struct TriggerData
|
||||
extern Oid CreateTrigger(CreateTrigStmt *stmt, bool forConstraint);
|
||||
|
||||
extern void DropTrigger(Oid relid, const char *trigname,
|
||||
DropBehavior behavior);
|
||||
DropBehavior behavior);
|
||||
extern void RemoveTriggerById(Oid trigOid);
|
||||
|
||||
extern void renametrig(Oid relid, const char *oldname, const char *newname);
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* user.h
|
||||
*
|
||||
*
|
||||
* $Id: user.h,v 1.18 2002/04/04 04:25:53 momjian Exp $
|
||||
* $Id: user.h,v 1.19 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
#define PWD_FILE "pg_pwd"
|
||||
|
||||
#define USER_GROUP_FILE "pg_group"
|
||||
#define USER_GROUP_FILE "pg_group"
|
||||
|
||||
|
||||
extern char *group_getfilename(void);
|
||||
|
||||
@@ -2,31 +2,31 @@
|
||||
* variable.h
|
||||
* Routines for handling specialized SET variables.
|
||||
*
|
||||
* $Id: variable.h,v 1.18 2002/05/17 01:19:19 tgl Exp $
|
||||
* $Id: variable.h,v 1.19 2002/09/04 20:31:42 momjian Exp $
|
||||
*
|
||||
*/
|
||||
#ifndef VARIABLE_H
|
||||
#define VARIABLE_H
|
||||
|
||||
extern const char *assign_datestyle(const char *value,
|
||||
bool doit, bool interactive);
|
||||
bool doit, bool interactive);
|
||||
extern const char *show_datestyle(void);
|
||||
extern const char *assign_timezone(const char *value,
|
||||
bool doit, bool interactive);
|
||||
bool doit, bool interactive);
|
||||
extern const char *show_timezone(void);
|
||||
extern const char *assign_XactIsoLevel(const char *value,
|
||||
bool doit, bool interactive);
|
||||
bool doit, bool interactive);
|
||||
extern const char *show_XactIsoLevel(void);
|
||||
extern bool assign_random_seed(double value,
|
||||
bool doit, bool interactive);
|
||||
bool doit, bool interactive);
|
||||
extern const char *show_random_seed(void);
|
||||
extern const char *assign_client_encoding(const char *value,
|
||||
bool doit, bool interactive);
|
||||
bool doit, bool interactive);
|
||||
extern const char *assign_server_encoding(const char *value,
|
||||
bool doit, bool interactive);
|
||||
bool doit, bool interactive);
|
||||
extern const char *show_server_encoding(void);
|
||||
extern const char *assign_session_authorization(const char *value,
|
||||
bool doit, bool interactive);
|
||||
bool doit, bool interactive);
|
||||
extern const char *show_session_authorization(void);
|
||||
|
||||
#endif /* VARIABLE_H */
|
||||
|
||||
Reference in New Issue
Block a user