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

Commite99e4ba

Browse files
committed
sprintf "...%d...", ... (int)getpid(), ...
^^^^^
1 parentccc7742 commite99e4ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/utils/sort/psort.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.13 1997/08/12 22:55:02 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.14 1997/08/14 05:04:38 vadim Exp $
1111
*
1212
* NOTES
1313
* Sorts the first relation into the second relation.
@@ -749,7 +749,7 @@ gettape()
749749

750750
tp= (structtapelst*)palloc((unsigned)sizeof (structtapelst));
751751

752-
sprintf(uniqueName,"%spg_psort.%d.%d",TEMPDIR,getpid(),uniqueFileId);
752+
sprintf(uniqueName,"%spg_psort.%d.%d",TEMPDIR,(int)getpid(),uniqueFileId);
753753
uniqueFileId++;
754754

755755
tapeinit=1;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp