]> granicus.if.org Git - postgresql/commitdiff
Rename int4 to int32 in a few places.
authorBruce Momjian <bruce@momjian.us>
Tue, 23 Jan 2001 01:48:17 +0000 (01:48 +0000)
committerBruce Momjian <bruce@momjian.us>
Tue, 23 Jan 2001 01:48:17 +0000 (01:48 +0000)
src/backend/commands/command.c
src/backend/commands/comment.c
src/include/commands/sequence.h
src/include/utils/date.h
src/include/utils/timestamp.h

index d1f595eed84152d993e8da47d4d9b7a4cd5af8a6..2808127d71e08a519fc5fb8557ee906a155015c1 100644 (file)
@@ -8,7 +8,7 @@
  *
  *
  * 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
  *       The PerformAddAttribute() code, like most of the relation
@@ -1446,7 +1446,7 @@ AlterTableOwner(const char *relationName, const char *newOwnerName)
 {
        Relation        class_rel;
        HeapTuple       tuple;
-       int           newOwnerSysid;
+       int32           newOwnerSysid;
        Relation        idescs[Num_pg_class_indices];
 
        /*
index 8ab997831b9dcc265f6ccc7436cf772a53ed6904..1af4ba102f7e39de2aadf1a0f9767529c1679584 100644 (file)
@@ -394,7 +394,7 @@ CommentDatabase(char *database, char *comment)
        HeapScanDesc scan;
        Oid                     oid;
        bool            superuser;
-       int           dba;
+       int32           dba;
        Oid             userid;
 
        /*** First find the tuple in pg_database for the database ***/
index 547c0ec8b9abb9beccf6a9327d242ed2c1786717..31925b395af79d04fbfa3d8bc29ce9326a231c59 100644 (file)
 typedef struct FormData_pg_sequence
 {
        NameData        sequence_name;
-       int           last_value;
-       int           increment_by;
-       int           max_value;
-       int           min_value;
-       int           cache_value;
-       int           log_cnt;
+       int32           last_value;
+       int32           increment_by;
+       int32           max_value;
+       int32           min_value;
+       int32           cache_value;
+       int32           log_cnt;
        char            is_cycled;
        char            is_called;
 } FormData_pg_sequence;
index a964d09a3099b4c9b93fce677b73d5b2e7ba86b9..2cef2982fdc2b399a087c5f11f729c07695b820d 100644 (file)
@@ -7,7 +7,7 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * 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
 {
        double          time;                   /* all time units other than months and
                                                                 * years */
-       int4            zone;                   /* numeric time zone, in seconds */
+       int                     zone;                   /* numeric time zone, in seconds */
 } TimeTzADT;
 
 /*
index e67a1ebcbd9033c8f919d13100e13d737a499952..9e0f8807f4b7d678653c4b7b500b38b05f7599ef 100644 (file)
@@ -6,7 +6,7 @@
  * Portions Copyright (c) 1996-2000, PostgreSQL, Inc
  * 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;
 typedef struct
 {
        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;