Re: Proposal for Allow postgresql.conf values to be changed via SQL - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Proposal for Allow postgresql.conf values to be changed via SQL
Date
Msg-id 12824.1352729821@sss.pgh.pa.us
Whole thread Raw
In response to Re: Proposal for Allow postgresql.conf values to be changed via SQL  (Greg Smith <greg@2ndQuadrant.com>)
List pgsql-hackers
Greg Smith <greg@2ndQuadrant.com> writes:
> Regardless, exactly how to prevent two concurrent processes from writing 
> the same file feels like the last step in the small roadmap for what 
> this feature needs.

"Write a temp file and use rename(2) to move it into place" is the
standard solution for that.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Asif Rehman
Date:
Subject: Re: why can't plpgsql return a row-expression?
Next
From: Robert Haas
Date:
Subject: Re: Inadequate thought about buffer locking during hot standby replay