Re: incompatible pointer types with newer zlib - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: incompatible pointer types with newer zlib
Date
Msg-id 1331971129.32357.1.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: incompatible pointer types with newer zlib  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: incompatible pointer types with newer zlib
List pgsql-hackers
On tor, 2012-03-01 at 19:19 +0200, Peter Eisentraut wrote:
> I think the best fix would be to rearrange _PrintFileData() so that it
> doesn't use FH at all.  Instead, we could define a separate
> ArchiveHandle field IF that works more like OF, and then change
> ahwrite() to use that.

Here is a patch that might fix this.  I haven't been able to test this
properly, so this is just from tracing the code.  It looks like
_PrintFileData() doesn't need to use FH at all, so it could use a local
file handle variable instead.  Could someone verify this please?


Attachment

pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: EquivalenceClasses and subqueries and PlaceHolderVars, oh my
Next
From: Atri Sharma
Date:
Subject: Regarding column reordering project for GSoc 2012