Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review]
От
Amit kapila
Тема
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review]
Дата
Msg-id
6C0B27F7206C9E4CA54AE035729E9C383BEB8CCB@szxeml509-mbx
Ответ на
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] (Boszormenyi Zoltan)
Список
Дерево обсуждения
Re: Proposal for Allow postgresql.conf values to be changed via SQL
[review] Amit kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Amit kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Amit kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed via
SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed via
SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL
[review] Andres Freund <andres@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed via
SQL [review] Andres Freund <andres@anarazel.de>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal for Allow postgresql.conf values to be changed via SQL
[review] Andres Freund <andres@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Robert Haas <robertmhaas@gmail.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Kevin Grittner <kgrittn@ymail.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL
[review] Andres Freund <andres@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal for Allow postgresql.conf values to be changed
via SQL [review] Craig Ringer <craig@2ndQuadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed
via SQL [review] Robert Haas <robertmhaas@gmail.com>
Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Amit kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL
[review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Josh Berkus <josh@agliodbs.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Josh Berkus <josh@agliodbs.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Greg Smith <greg@2ndQuadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Greg Smith <greg@2ndQuadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Greg Smith <greg@2ndQuadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Greg Smith <greg@2ndQuadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Fujii Masao <masao.fujii@gmail.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Josh Berkus <josh@agliodbs.com>
Re: Proposal for Allow postgresql.conf values to be changed via
SQL [review] Greg Stark <stark@mit.edu>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed via
SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Craig Ringer <craig@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Craig Ringer <craig@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andres Freund <andres@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Greg Smith <greg@2ndQuadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Boszormenyi Zoltan <zb@cybertec.at>
Re: Proposal for Allow postgresql.conf values to be changed via SQL
[review] Greg Smith <greg@2ndQuadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Greg Stark <stark@mit.edu>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed
via SQL [review] Robert Haas <robertmhaas@gmail.com>
Re: Proposal for Allow postgresql.conf values to be changed
via SQL [review] Greg Smith <greg@2ndQuadrant.com>
Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Alvaro Herrera <alvherre@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed
via SQL [review] Greg Smith <greg@2ndQuadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed
via SQL [review] Greg Smith <greg@2ndQuadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed
via SQL [review] Peter Eisentraut <peter_e@gmx.net>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed
via SQL [review] Robert Haas <robertmhaas@gmail.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Tom Lane <tgl@sss.pgh.pa.us>
Re: Proposal for Allow postgresql.conf values to be changed
via SQL [review] Robert Haas <robertmhaas@gmail.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Proposal for Allow postgresql.conf values to be changed
via SQL [review] Greg Smith <greg@2ndQuadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Craig Ringer <craig@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Josh Berkus <josh@agliodbs.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Tom Lane <tgl@sss.pgh.pa.us>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Greg Smith <greg@2ndQuadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Craig Ringer <craig@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Craig Ringer <craig@2ndquadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Craig Ringer <craig@2ndquadrant.com>
Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Zoltán Böszörményi <zb@cybertec.at>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Craig Ringer <craig@2ndQuadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Craig Ringer <craig@2ndQuadrant.com>
Re: Re: Proposal for Allow postgresql.conf values to be changed via SQL [review] Amit Kapila <amit.kapila@huawei.com>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Magnus Hagander <magnus@hagander.net>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andrew Dunstan <andrew@dunslane.net>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Magnus Hagander <magnus@hagander.net>
Re: Re: Proposal for Allow postgresql.conf values to be
changed via SQL [review] Andrew Dunstan <andrew@dunslane.net>
On Saturday, January 19, 2013 2:37 AM Boszormenyi Zoltan wrote:
2013-01-18 21:48 keltezéssel, Boszormenyi Zoltan írta:
> 2013-01-18 21:32 keltezéssel, Tom Lane írta:
>> Boszormenyi Zoltan writes:
>>> 2013-01-18 11:05 keltezéssel, Amit kapila írta:
>>>>> On using mktemp, linux compilation gives below warning
>>>>> warning: the use of `mktemp' is dangerous, better use `mkstemp'
>>>>
>>>>> So I planned to use mkstemp.
>>>> Good.
>>> On my HPUX box, the man page disapproves of both, calling them obsolete
>>> (and this man page is old enough to vote, I believe...)
>Then we have to at least consider what this old {p|s}age says... ;-)
>>
>>> Everywhere else that we need to do something like this, we just use our
>>> own PID to disambiguate, ie
>>> sprintf(tempfilename, "/path/to/file.%d", (int) getpid());
>>> There is no need to deviate from that pattern or introduce portability
>>> issues, since we can reasonably assume that no non-Postgres programs are
>>> creating files in this directory.
>
>> Thanks for the enlightenment, I will post a new version soon.
> Here it is.
Thanks a ton for providing better modified version.
I shall test it on Monday once and then we can conclude on it.
The only point in modifications, I am not comfortable is that in error messages you have
mentioned (automatic configuration directory). I am not sure if we should use work "automatic"
for config_dir or just use configuration directory.
However I shall keep as it is if no one else has any objection. We can let committer decide about it.
With Regards,
Amit Kapila.
В списке pgsql-hackers по дате отправления