Commit e99e4ba8 authored by Vadim B. Mikheev's avatar Vadim B. Mikheev

sprintf "...%d...", ... (int)getpid(), ...

                        ^^^^^
parent ccc77423
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.13 1997/08/12 22:55:02 momjian Exp $ * $Header: /cvsroot/pgsql/src/backend/utils/sort/Attic/psort.c,v 1.14 1997/08/14 05:04:38 vadim Exp $
* *
* NOTES * NOTES
* Sorts the first relation into the second relation. * Sorts the first relation into the second relation.
...@@ -749,7 +749,7 @@ gettape() ...@@ -749,7 +749,7 @@ gettape()
tp = (struct tapelst *)palloc((unsigned)sizeof (struct tapelst)); tp = (struct tapelst *)palloc((unsigned)sizeof (struct tapelst));
sprintf(uniqueName, "%spg_psort.%d.%d", TEMPDIR, getpid(), uniqueFileId); sprintf(uniqueName, "%spg_psort.%d.%d", TEMPDIR, (int)getpid(), uniqueFileId);
uniqueFileId++; uniqueFileId++;
tapeinit = 1; tapeinit = 1;
......
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