Re: -Wformat-zero-length

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Peter Eisentraut <peter_e(at)gmx(dot)net>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: -Wformat-zero-length
Date: 2012-08-09 14:00:51
Message-ID: 20120809140051.GA11205@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 9, 2012 at 09:20:23AM -0400, Robert Haas wrote:
> On Wed, Aug 8, 2012 at 7:04 PM, Bruce Momjian <bruce(at)momjian(dot)us> wrote:
> >> The point I think Robert was trying to make is that we need to cut down
> >> not only the complexity of running pg_upgrade, but the number of failure
> >> modes. At least that's how I'd define improvement here.
> >
> > Agreed. Even with these changes, I still see a lot of complexity.
>
> I agree. That's why I said it needs some serious engineering time to
> file down the rough edges, plural, not that it needs this fix in
> particular. This would help to make things less error-prone, but it's
> far from the only thing that is needed. As to what exactly is needed,
> well that's up for discussion.
>
> One of the big failure modes for pg_upgrade is... pg_dump's dump fails
> to restore. That bothers me quite a bit because there are actually a
> lot more people who rely on pg_dump than there are people who rely on
> pg_upgrade, and it turns out there are all of these edge cases that
> pg_dump doesn't actually handle all that well. Sure, you can edit the
> dump by hand (if you're not using pg_upgrade) but that sucks.

100% agree. 9.2 will improve pg_upgrade debugging capabilities and
speed, but there are still many rough edges where that I don't see clear
solutions. Therefore, I don't see pg_upgrade being simple anytime soon,
and hence, it is also unlikely pg_upgrade will be moved to /bin anytime
soon, if we use the same criteria.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2012-08-09 14:11:08 Re: Inserting heap tuples in bulk in COPY
Previous Message Robert Haas 2012-08-09 13:20:23 Re: -Wformat-zero-length