pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: Asif Naeem <anaeem.it@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: pgsql-bugs@postgresql.org <pgsql-bugs@postgresql.org>
Subject: Re: pg_upgrade failure on Windows Server
Date: Thu, 12 Mar 2015 11:45:33 -0300
Message-ID: <20150312144533.GZ3291@alvh.no-ip.org> (raw)
In-Reply-To: <CAB7nPqTtE_NcBa9syo4m9beUOWOsGW+p1ctF6haUGi6GQxjbNQ@mail.gmail.com>
References: <20150121183649.GH3885@momjian.us>
	<CAA4eK1Kp+KY8K-wDicAhRawt2oA_e_dPHkOono5bSFNvTqA2rw@mail.gmail.com>
	<CAB7nPqTi0VXdZoSkAW91SHoRsOQOm0YQWHRfMGRmNCJFMftsbQ@mail.gmail.com>
	<CAEB4t-N+U7Nm8xLD0Ak7Ozvi-ZuMPGhtGk1wRNA6SriK-eN-Bg@mail.gmail.com>
	<CAB7nPqSdKwtBeSq-TVwP5U4nNqHqfpKdWE1L+=P3Vxcfx820kA@mail.gmail.com>
	<CAEB4t-NCd5MHNSPCgr8MFroa479+5s2Kx=nVpq=DCXS5YADp+w@mail.gmail.com>
	<CAB7nPqSK-YDBrszwWCAQH_sgXdO23Ja-LjqpnqbbR=ukm_qj4w@mail.gmail.com>
	<CAEB4t-NLYHDET3cBM4vAqRJ-giBU0wuGag4SfdjB=KuZe2Z41Q@mail.gmail.com>
	<20150312135056.GT3291@alvh.no-ip.org>
	<CAB7nPqTtE_NcBa9syo4m9beUOWOsGW+p1ctF6haUGi6GQxjbNQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Michael Paquier wrote:
> On Thu, Mar 12, 2015 at 6:50 AM, Alvaro Herrera
> <alvherre@2ndquadrant.com> wrote:

> > Is this a backpatchable bug fix, or are we considering this only for the
> > master branch?
> 
> It would be good to get that backpatched, that's something we really
> miss now IMO. Now it modifies libpgcommon, so Windows packagers (me
> being one) will certainly need to patch a bit stuff but that's a
> one-line changer so it's not a big deal. And I imagine that this is
> actually the reason why Asif reported that as a bug as well.

I think it'd be better to patch only pg_upgrade in back branches, so
that there are no libpgcommon changes.  Seems that would make life
easier for packagers (See the \connect thread, where Robert opined that
it'd be better to duplicate some routines in back branches rather than
refactor libpq code and move the common code to pgcommon.  I didn't
completely agree with him at the time, but now that you mention
packagers pain, maybe he has a point.)

So let's do the refactoring in the master branch only, and duplicate
the code in back branches.  Nasty, but it seems the more robust
approach.

-- 
Álvaro Herrera                http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (35+ messages)  latest in thread

Message-ID: <20150312144533.GZ3291@alvh.no-ip.org>
Permalink:  ../20150312144533.GZ3291@alvh.no-ip.org/
Also on:    postgresql.org/message-id/20150312144533.GZ3291@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@2ndquadrant.com, michael.paquier@gmail.com, anaeem.it@gmail.com, amit.kapila16@gmail.com, bruce@momjian.us
  Subject: Re: pg_upgrade failure on Windows Server
  In-Reply-To: <20150312144533.GZ3291@alvh.no-ip.org>
  References: <20150121183649.GH3885@momjian.us> <CAA4eK1Kp+KY8K-wDicAhRawt2oA_e_dPHkOono5bSFNvTqA2rw@mail.gmail.com> <CAB7nPqTi0VXdZoSkAW91SHoRsOQOm0YQWHRfMGRmNCJFMftsbQ@mail.gmail.com> <CAEB4t-N+U7Nm8xLD0Ak7Ozvi-ZuMPGhtGk1wRNA6SriK-eN-Bg@mail.gmail.com> <CAB7nPqSdKwtBeSq-TVwP5U4nNqHqfpKdWE1L+=P3Vxcfx820kA@mail.gmail.com> <CAEB4t-NCd5MHNSPCgr8MFroa479+5s2Kx=nVpq=DCXS5YADp+w@mail.gmail.com> <CAB7nPqSK-YDBrszwWCAQH_sgXdO23Ja-LjqpnqbbR=ukm_qj4w@mail.gmail.com> <CAEB4t-NLYHDET3cBM4vAqRJ-giBU0wuGag4SfdjB=KuZe2Z41Q@mail.gmail.com> <20150312135056.GT3291@alvh.no-ip.org> <CAB7nPqTtE_NcBa9syo4m9beUOWOsGW+p1ctF6haUGi6GQxjbNQ@mail.gmail.com> <20150312144533.GZ3291@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox