pg_upgrade: allow multiple -o/-O options

From: Pavel Raiskup <praiskup(at)redhat(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Cc: hhorak(at)redhat(dot)com
Subject: pg_upgrade: allow multiple -o/-O options
Date: 2014-03-04 15:52:56
Message-ID: 2388764.h55D4LNXF4@nb.usersys.redhat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello,

RFE: Consider that you want to run pg_upgrade via some script with some
default '-o' option. But then you also want to give the script's user a
chance to specify the old-server's options according user's needs.
Then something like the following is not possible:

$ cat script
...
pg_upgrade ... -o 'sth' $PG_UPGRADE_OPT ...
...

I know that this problem is still script-able, but the fix should be
innocent and it would simplify things. Thanks for considering,

Pavel

Attachment Content-Type Size
0001-pg_upgrade-allow-passing-multiple-o-O-options.patch text/x-patch 1.8 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Fabrízio de Royes Mello 2014-03-04 16:04:39 Re: GSoC proposal - "make an unlogged table logged"
Previous Message Stephen Frost 2014-03-04 15:52:47 Re: Custom Scan APIs (Re: Custom Plan node)