Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/commands')
-rw-r--r--src/include/commands/command.h18
-rw-r--r--src/include/commands/comment.h16
-rw-r--r--src/include/commands/copy.h6
-rw-r--r--src/include/commands/trigger.h35
-rw-r--r--src/include/commands/user.h2
-rw-r--r--src/include/commands/vacuum.h5
6 files changed, 43 insertions, 39 deletions
diff --git a/src/include/commands/command.h b/src/include/commands/command.h
index a10adffea9d..b68ec2de5da 100644
--- a/src/include/commands/command.h
+++ b/src/include/commands/command.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: command.h,v 1.17 2000/01/26 05:58:00 momjian Exp $
+ * $Id: command.h,v 1.18 2000/04/12 17:16:31 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -42,22 +42,22 @@ extern void PortalCleanup(Portal portal);
* ALTER TABLE variants
*/
extern void AlterTableAddColumn(const char *relationName,
- bool inh, ColumnDef *colDef);
+ bool inh, ColumnDef *colDef);
extern void AlterTableAlterColumn(const char *relationName,
- bool inh, const char *colName,
- Node *newDefault);
+ bool inh, const char *colName,
+ Node *newDefault);
extern void AlterTableDropColumn(const char *relationName,
- bool inh, const char *colName,
- int behavior);
+ bool inh, const char *colName,
+ int behavior);
extern void AlterTableAddConstraint(const char *relationName,
- bool inh, Node *newConstraint);
+ bool inh, Node *newConstraint);
extern void AlterTableDropConstraint(const char *relationName,
- bool inh, const char *constrName,
- int behavior);
+ bool inh, const char *constrName,
+ int behavior);
/*
* LOCK
diff --git a/src/include/commands/comment.h b/src/include/commands/comment.h
index 93ed200a74a..7f400411b4e 100644
--- a/src/include/commands/comment.h
+++ b/src/include/commands/comment.h
@@ -1,7 +1,7 @@
/*-------------------------------------------------------------------------
*
* comment.h
- *
+ *
* Prototypes for functions in commands/comment.c
*
* Copyright (c) 1999, PostgreSQL Global Development Group
@@ -14,18 +14,18 @@
/*------------------------------------------------------------------
* Function Prototypes --
- *
+ *
* The following protoypes define the public functions of the comment
* related routines. CreateComments() is used to create/drop a comment
- * for any object with a valid oid. DeleteComments() deletes, if any,
- * the comments associated with the object. CommentObject() is used to
+ * for any object with a valid oid. DeleteComments() deletes, if any,
+ * the comments associated with the object. CommentObject() is used to
* create comments to be identified by the specific type.
*------------------------------------------------------------------
*/
-void CreateComments(Oid oid, char *comment);
-void DeleteComments(Oid oid);
-void CommentObject(int objtype, char *objname, char *objproperty,
- List *objlist, char *comment);
+void CreateComments(Oid oid, char *comment);
+void DeleteComments(Oid oid);
+void CommentObject(int objtype, char *objname, char *objproperty,
+ List *objlist, char *comment);
#endif /* COMMENT_H */
diff --git a/src/include/commands/copy.h b/src/include/commands/copy.h
index ecdb9bbb4e8..bbd465586c9 100644
--- a/src/include/commands/copy.h
+++ b/src/include/commands/copy.h
@@ -7,16 +7,16 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: copy.h,v 1.10 2000/02/13 18:59:52 momjian Exp $
+ * $Id: copy.h,v 1.11 2000/04/12 17:16:32 momjian Exp $
*
*-------------------------------------------------------------------------
*/
#ifndef COPY_H
#define COPY_H
-extern int lineno;
+extern int lineno;
void DoCopy(char *relname, bool binary, bool oids, bool from, bool pipe,
- char *filename, char *delim, char *null_print);
+ char *filename, char *delim, char *null_print);
#endif /* COPY_H */
diff --git a/src/include/commands/trigger.h b/src/include/commands/trigger.h
index b2c258c2f83..3b735546ea5 100644
--- a/src/include/commands/trigger.h
+++ b/src/include/commands/trigger.h
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: trigger.h,v 1.18 2000/01/31 04:35:54 tgl Exp $
+ * $Id: trigger.h,v 1.19 2000/04/12 17:16:32 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -93,31 +93,34 @@ extern void ExecARUpdateTriggers(EState *estate, ItemPointer tupleid, HeapTuple
* Deferred trigger stuff
* ----------
*/
-typedef struct DeferredTriggerStatusData {
- Oid dts_tgoid;
- bool dts_tgisdeferred;
+typedef struct DeferredTriggerStatusData
+{
+ Oid dts_tgoid;
+ bool dts_tgisdeferred;
} DeferredTriggerStatusData;
typedef struct DeferredTriggerStatusData *DeferredTriggerStatus;
-typedef struct DeferredTriggerEventItem {
- Oid dti_tgoid;
- int32 dti_state;
+typedef struct DeferredTriggerEventItem
+{
+ Oid dti_tgoid;
+ int32 dti_state;
} DeferredTriggerEventItem;
-typedef struct DeferredTriggerEventData {
- int32 dte_event;
- Oid dte_relid;
- ItemPointerData dte_oldctid;
- ItemPointerData dte_newctid;
- int32 dte_n_items;
- DeferredTriggerEventItem dte_item[1];
+typedef struct DeferredTriggerEventData
+{
+ int32 dte_event;
+ Oid dte_relid;
+ ItemPointerData dte_oldctid;
+ ItemPointerData dte_newctid;
+ int32 dte_n_items;
+ DeferredTriggerEventItem dte_item[1];
} DeferredTriggerEventData;
typedef struct DeferredTriggerEventData *DeferredTriggerEvent;
-extern int DeferredTriggerInit(void);
+extern int DeferredTriggerInit(void);
extern void DeferredTriggerBeginXact(void);
extern void DeferredTriggerEndQuery(void);
extern void DeferredTriggerEndXact(void);
@@ -126,7 +129,7 @@ extern void DeferredTriggerAbortXact(void);
extern void DeferredTriggerSetState(ConstraintsSetStmt *stmt);
extern void DeferredTriggerSaveEvent(Relation rel, int event,
- HeapTuple oldtup, HeapTuple newtup);
+ HeapTuple oldtup, HeapTuple newtup);
/*
diff --git a/src/include/commands/user.h b/src/include/commands/user.h
index 6a52fe613d9..f250a1c3da8 100644
--- a/src/include/commands/user.h
+++ b/src/include/commands/user.h
@@ -18,7 +18,7 @@ extern void AlterUser(AlterUserStmt *stmt);
extern void DropUser(DropUserStmt *stmt);
extern void CreateGroup(CreateGroupStmt *stmt);
-extern void AlterGroup(AlterGroupStmt *stmt, const char * tag);
+extern void AlterGroup(AlterGroupStmt *stmt, const char *tag);
extern void DropGroup(DropGroupStmt *stmt);
extern HeapTuple update_pg_pwd(void);
diff --git a/src/include/commands/vacuum.h b/src/include/commands/vacuum.h
index 07bc4ea1f99..136721c4e17 100644
--- a/src/include/commands/vacuum.h
+++ b/src/include/commands/vacuum.h
@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California
*
- * $Id: vacuum.h,v 1.26 2000/01/26 05:58:00 momjian Exp $
+ * $Id: vacuum.h,v 1.27 2000/04/12 17:16:32 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -47,7 +47,8 @@ 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_allocated_pages; /* Number of allocated pages in vpl_pagedesc */
+ int vpl_num_allocated_pages; /* Number of allocated
+ * pages in vpl_pagedesc */
VPageDescr *vpl_pagedesc; /* Descriptions of pages */
} VPageListData;