Re: [GENERAL] pg_upgrade -u

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: "Joshua D(dot) Drake" <jd(at)commandprompt(dot)com>
Cc: Ray Stell <stellr(at)vt(dot)edu>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [GENERAL] pg_upgrade -u
Date: 2013-06-28 22:05:05
Message-ID: 20130628220505.GA13790@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On Tue, May 28, 2013 at 09:08:03PM -0700, Joshua D. Drake wrote:
>
> On 05/28/2013 07:55 PM, Bruce Momjian wrote:
>
> >>Perhaps just documenting the behavior is all that is needed, but -U is
> >>everywhere and I think that's a good thing.
> >
> >[ moved to hacker ]
> >
> >Wow, I never realized other tools used -U for user, instead of -u.
> >Should I change pg_upgrade to use -U for 9.4? I can keep supporting -u
> >as an undocumented option.
>
> Yes, -U makes the most sense as that is what is used with the other
> tools. I think you should just drop -u, this isn't something people
> are doing everyday (like psql). The backward compatibility argument
> is pretty slim.

Done for 9.4. I also simplified some of the option values in --help and
the docs.

--
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-general by date

  From Date Subject
Next Message Bruce Momjian 2013-06-28 22:06:11 Re: [GENERAL] pg_upgrade -u
Previous Message Richard Broersma 2013-06-28 21:31:39 Re: How to REMOVE an "on delete cascade"?

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-06-28 22:05:34 Re: New regression test time
Previous Message Alvaro Herrera 2013-06-28 22:00:49 Re: backend hangs at immediate shutdown (Re: Back-branch update releases coming in a couple weeks)