Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group