Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7e533da

Browse files
committed
Rename int4 to int32 in a few places.
1 parent26aa69a commit7e533da

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

‎src/backend/commands/command.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.116 2001/01/08 03:14:58 inoue Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/commands/Attic/command.c,v 1.117 2001/01/23 01:48:16 momjian Exp $
1212
*
1313
* NOTES
1414
* The PerformAddAttribute() code, like most of the relation
@@ -1446,7 +1446,7 @@ AlterTableOwner(const char *relationName, const char *newOwnerName)
14461446
{
14471447
Relationclass_rel;
14481448
HeapTupletuple;
1449-
int4newOwnerSysid;
1449+
int32newOwnerSysid;
14501450
Relationidescs[Num_pg_class_indices];
14511451

14521452
/*

‎src/backend/commands/comment.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,7 @@ CommentDatabase(char *database, char *comment)
394394
HeapScanDescscan;
395395
Oidoid;
396396
boolsuperuser;
397-
int4dba;
397+
int32dba;
398398
Oiduserid;
399399

400400
/*** First find the tuple in pg_database for the database ***/

‎src/include/commands/sequence.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
typedefstructFormData_pg_sequence
1616
{
1717
NameDatasequence_name;
18-
int4last_value;
19-
int4increment_by;
20-
int4max_value;
21-
int4min_value;
22-
int4cache_value;
23-
int4log_cnt;
18+
int32last_value;
19+
int32increment_by;
20+
int32max_value;
21+
int32min_value;
22+
int32cache_value;
23+
int32log_cnt;
2424
charis_cycled;
2525
charis_called;
2626
}FormData_pg_sequence;

‎src/include/utils/date.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
88
* Portions Copyright (c) 1994, Regents of the University of California
99
*
10-
* $Id: date.h,v 1.7 2000/12/03 14:51:11 thomas Exp $
10+
* $Id: date.h,v 1.8 2001/01/23 01:48:17 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -25,7 +25,7 @@ typedef struct
2525
{
2626
doubletime;/* all time units other than months and
2727
* years */
28-
int4zone;/* numeric time zone, in seconds */
28+
intzone;/* numeric time zone, in seconds */
2929
}TimeTzADT;
3030

3131
/*

‎src/include/utils/timestamp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc
77
* Portions Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: timestamp.h,v 1.11 2000/11/06 16:05:25 thomas Exp $
9+
* $Id: timestamp.h,v 1.12 2001/01/23 01:48:17 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -36,7 +36,7 @@ typedef double Timestamp;
3636
typedefstruct
3737
{
3838
doubletime;/* all time units other than months and years */
39-
int4month;/* months and years, after time for alignment */
39+
intmonth;/* months and years, after time for alignment */
4040
}Interval;
4141

4242

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp