Skip to content

Commit b4d3792

Browse files
committed
Another fix for larger postmaster.pid files.
1 parent 0600431 commit b4d3792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/utils/init/miscinit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -825,7 +825,7 @@ CreateLockFile(const char *filename, bool amPostmaster,
825825
*/
826826
if (isDDLock)
827827
{
828-
char *ptr = NULL;
828+
char *ptr = buffer;
829829
unsigned long id1,
830830
id2;
831831
int lineno;

0 commit comments

Comments
 (0)