Re: ERROR: could not read block - Mailing list pgsql-admin

From Tom Lane
Subject Re: ERROR: could not read block
Date
Msg-id 8905.1132161919@sss.pgh.pa.us
Whole thread Raw
In response to Re: ERROR: could not read block  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
List pgsql-admin
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> On Linux:
> md.c:445: warning: implicit declaration of function `GetLastError'

Of course.  This is a Windows-only hack.

> On Windows:
> md.c:445: warning: int format, DWORD arg (arg 6)
> md.c:457: warning: int format, DWORD arg (arg 7)

I think this is just cosmetic, but try %ld instead of %d in the elog
format strings.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: ERROR: could not read block
Next
From: Wim Bertels
Date:
Subject: Re: md5 collision generator