Re: [PATCH] Move user options to the end of the command in pg_upgrade

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Patrik Novotny <panovotn(at)redhat(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: [PATCH] Move user options to the end of the command in pg_upgrade
Date: 2019-09-10 15:06:00
Message-ID: 21135.1568127960@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Patrik Novotny <panovotn(at)redhat(dot)com> writes:
> thanks for you reply. You're right, and I apologise for the confusion.
> Options I was talking about are specified via the `--old-options`
> parameter of the pg_upgrade (ex.: --old-options '-c
> unix_socket_directories=/run')
> Mentioning of the environment variable came only from my own
> confusion. I also attached the mentioned patch.

Ah, now I see what you're on about. I agree that this is a good
change ... and we probably should add a comment reminding people
to keep the user options at the end, because somebody[1] broke this
through add-at-the-end syndrome.

regards, tom lane

[1] ... me, in fact

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera from 2ndQuadrant 2019-09-10 16:05:29 Re: Libpq support to connect to standby server as priority
Previous Message Patrik Novotny 2019-09-10 14:46:58 Re: [PATCH] Move user options to the end of the command in pg_upgrade