Re: -Wformat-zero-length

Поиск
Список
Период
Сортировка
От Jaime Casanova
Тема Re: -Wformat-zero-length
Дата
Msg-id CAJKUy5j6e68+Wf3Fc+ZhA=EFxTrO==Yn6yOktT9rENaT2VjrXQ@mail.gmail.com
обсуждение исходный текст
Ответ на Re: -Wformat-zero-length  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
On Wed, Aug 8, 2012 at 4:29 PM, Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
>
> I wonder if things would be facilitated by having a config file for
> pg_upgrade to specify binary and PGDATA paths instead of having awkward
> command line switches.  That way you could request the user to create
> such a file, then
>

i like this idea, when i have used pg_upgrade i have been running it
several times with --check until everything is ok and then the actual
upgrade... so i always create a shell script to run it, a config file
should be a good idea

>
> You could even have a mode on which pg_upgrade asks for the necessary
> information to create the config file.  For example
>
> pg_upgrade --create-config=/somewhere/pg_upgrade.conf
> Path to new binaries:  /usr/local/pg92
> Path to old binaries:  /usr/local/pg84
> Path to old data directory:  /srv/pgsql-84/data
> Path to new data directory:  /srv/pgsql-92/data
> Use link mode (y/N):  n
> ... using copy mode.
> [now run the checks and complain about missing binaries, etc]
>

even better

--
Jaime Casanova         www.2ndQuadrant.com
Professional PostgreSQL: Soporte 24x7 y capacitación


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: -Wformat-zero-length
Следующее
От: Tom Lane
Дата:
Сообщение: Re: -Wformat-zero-length