Re: pgsql: Modify pg_dump to use error-free memory allocation macros. This - Mailing list pgsql-committers

From Bruce Momjian
Subject Re: pgsql: Modify pg_dump to use error-free memory allocation macros. This
Date
Msg-id 201111261433.pAQEXqf25066@momjian.us
Whole thread Raw
In response to Re: pgsql: Modify pg_dump to use error-free memory allocation macros. This  (Andrew Dunstan <andrew@dunslane.net>)
List pgsql-committers
Andrew Dunstan wrote:
>
>
> On 11/26/2011 09:11 AM, Bruce Momjian wrote:
> > \Andrew Dunstan wrote:
> >>
> >> On 11/26/2011 02:13 AM, Tom Lane wrote:
> >>> Bruce Momjian<bruce@momjian.us>   writes:
> >>>> Modify pg_dump to use error-free memory allocation macros.  This avoids
> >>>> ignoring errors and call-site error checking.
> >>> This appears to have broken the MSVC build.  More generally, I'd like to
> >>> object to arbitrarily moving a bunch of longstanding code from one file
> >>> to another.  What that is mainly going to accomplish is creating a big
> >>> headache whenever we have to back-patch fixes that touch that code
> >>> ... and what exactly did it buy in return?
> >>>
> >>>
> >>
> >> Was there any discussion of this change? It seems much too big for
> >> something to be done without discussion, but I don't recall seeing
> >> anything. (And it's probably seriously broken two patches I have in the
> >> commitfest).
> > The patch was posted Novembrer 14 and received no replies:
> >
> >     http://archives.postgresql.org/pgsql-hackers/2011-11/msg00860.php
> >
>
> Oh, I missed it. Sorry.

No problem.  Tom is discussing if this is the best approach, and if it
is the MSVC build needs to be fixed.  I normally don't hold patches for
two weeks but waited to be sure I was available to fix any breakage.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: pgsql: Modify pg_dump to use error-free memory allocation macros. This
Next
From: Bruce Momjian
Date:
Subject: Re: pgsql: Modify pg_dump to use error-free memory allocation macros. This