Re: [PATCH] Make pg_basebackup configure and start standby [Review]

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: [PATCH] Make pg_basebackup configure and start standby [Review]
Дата
Msg-id 1349321071.23971.0.camel@vanquo.pezone.net
обсуждение исходный текст
Ответ на Re: [PATCH] Make pg_basebackup configure and start standby [Review]  (Boszormenyi Zoltan <zb@cybertec.at>)
Ответы Re: [PATCH] Make pg_basebackup configure and start standby [Review]
Список pgsql-hackers
On Wed, 2012-10-03 at 18:15 +0200, Boszormenyi Zoltan wrote:
> The second generation of this work is now attached and contains a new
> feature as was discussed and suggested by Magnus Hagander, Fujii Masao
> and Peter Eisentraut. So libpq has grown a new function:
> 
> +/* return the connection options used by a live connection */
> +extern PQconninfoOption *PQconninfo(PGconn *conn);
> 
> This copies all the connection parameters back from the live PGconn
> itself
> so everything that's needed to connect is already validated. 

I don't like that this code maintains a second list of all possible
libpq connection parameters.  The parameters to add to the connection
string should be driven off the authoritative list in PQconninfoOptions.





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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Question on "box @> point" using GiST index on boxes
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: xmalloc => pg_malloc