Commit 7e533da4 authored by Bruce Momjian's avatar Bruce Momjian

Rename int4 to int32 in a few places.

parent 26aa69a2
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.116 2001/01/08 03:14:58 inoue Exp $ * $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.117 2001/01/23 01:48:16 momjian Exp $
* *
* NOTES * NOTES
* The PerformAddAttribute() code, like most of the relation * The PerformAddAttribute() code, like most of the relation
...@@ -1446,7 +1446,7 @@ AlterTableOwner(const char *relationName, const char *newOwnerName) ...@@ -1446,7 +1446,7 @@ AlterTableOwner(const char *relationName, const char *newOwnerName)
{ {
Relation class_rel; Relation class_rel;
HeapTuple tuple; HeapTuple tuple;
int4 newOwnerSysid; int32 newOwnerSysid;
Relation idescs[Num_pg_class_indices]; Relation idescs[Num_pg_class_indices];
/* /*
......
...@@ -394,7 +394,7 @@ CommentDatabase(char *database, char *comment) ...@@ -394,7 +394,7 @@ CommentDatabase(char *database, char *comment)
HeapScanDesc scan; HeapScanDesc scan;
Oid oid; Oid oid;
bool superuser; bool superuser;
int4 dba; int32 dba;
Oid userid; Oid userid;
/*** First find the tuple in pg_database for the database ***/ /*** First find the tuple in pg_database for the database ***/
......
...@@ -15,12 +15,12 @@ ...@@ -15,12 +15,12 @@
typedef struct FormData_pg_sequence typedef struct FormData_pg_sequence
{ {
NameData sequence_name; NameData sequence_name;
int4 last_value; int32 last_value;
int4 increment_by; int32 increment_by;
int4 max_value; int32 max_value;
int4 min_value; int32 min_value;
int4 cache_value; int32 cache_value;
int4 log_cnt; int32 log_cnt;
char is_cycled; char is_cycled;
char is_called; char is_called;
} FormData_pg_sequence; } FormData_pg_sequence;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: date.h,v 1.7 2000/12/03 14:51:11 thomas Exp $ * $Id: date.h,v 1.8 2001/01/23 01:48:17 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -25,7 +25,7 @@ typedef struct ...@@ -25,7 +25,7 @@ typedef struct
{ {
double time; /* all time units other than months and double time; /* all time units other than months and
* years */ * years */
int4 zone; /* numeric time zone, in seconds */ int zone; /* numeric time zone, in seconds */
} TimeTzADT; } TimeTzADT;
/* /*
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
* Portions Copyright (c) 1994, Regents of the University of California * Portions Copyright (c) 1994, Regents of the University of California
* *
* $Id: timestamp.h,v 1.11 2000/11/06 16:05:25 thomas Exp $ * $Id: timestamp.h,v 1.12 2001/01/23 01:48:17 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -36,7 +36,7 @@ typedef double Timestamp; ...@@ -36,7 +36,7 @@ typedef double Timestamp;
typedef struct typedef struct
{ {
double time; /* all time units other than months and years */ double time; /* all time units other than months and years */
int4 month; /* months and years, after time for alignment */ int month; /* months and years, after time for alignment */
} Interval; } Interval;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment