Re: ERROR: could not read block

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
Cc: zhouqq(at)cs(dot)toronto(dot)edu, icub3d(at)gmail(dot)com, pgsql-admin(at)postgresql(dot)org
Subject: Re: ERROR: could not read block
Date: 2005-11-16 17:25:19
Message-ID: 8905.1132161919@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Wim Bertels 2005-11-16 17:31:02 Re: md5 collision generator
Previous Message Kevin Grittner 2005-11-16 17:22:47 Re: ERROR: could not read block