Re: [HACKERS] pg_basebackup -R
От | Michael Paquier |
---|---|
Тема | Re: [HACKERS] pg_basebackup -R |
Дата | |
Msg-id | CAB7nPqROzVSCz3myas4A9ofU615vWteHdU6K=TRq9bzwoUr_Yw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [HACKERS] pg_basebackup -R (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: [HACKERS] pg_basebackup -R
|
Список | pgsql-hackers |
On Wed, Feb 15, 2017 at 2:38 AM, Robert Haas <robertmhaas@gmail.com> wrote: > On Thu, Feb 9, 2017 at 9:40 PM, Michael Paquier > <michael.paquier@gmail.com> wrote: >> In short, I'd like to think that we should just filter out those two >> parameters by name and call it a day. Or introduce an idea of value >> set for the environment by adding some kind of tracking flag in >> PQconninfoOption? Though I am not sure that it is worth complicating >> libpq to just generate recovery.conf in pg_basebackup. > > Yeah, I'm not sure what the best solution is. I just thought it was strange. Thinking more about this, perhaps the correct answer is to do nothing? target_session_attrs being set is rather similar to sslmode or sslcompression for example. They are here but don't hurt. The same thing applies to passfile: if the file is not here the client would still ask for input. If it is here, things are helped a bit. -- Michael
В списке pgsql-hackers по дате отправления: