Re: SQL command to edit postgresql.conf, with comments - Mailing list pgsql-hackers

From Dimitri Fontaine
Subject Re: SQL command to edit postgresql.conf, with comments
Date
Msg-id m2pqvcrfrk.fsf@2ndQuadrant.fr
Whole thread Raw
In response to Re: SQL command to edit postgresql.conf, with comments  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:
>>   SELECT pg_load_conf('path/to/filename.conf', permament => true);
>
> That seems like a pretty bizarre idea.  The settings wouldn't be
> persistent would they?  Or are you proposing this as a substitute
> way of providing input for SET PERMANENT?  If so what's the value?

Yeah, it only has value if those two conditions are met:1. there's a single source file possible for the
configuration2.it's not in the format you'd like it to be for easy hand editing
 

As the premise aren't reached, I agree such a function would have no value.
-- 
Dimitri Fontaine
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: SQL command to edit postgresql.conf, with comments
Next
From: Alastair Turner
Date:
Subject: Re: First patch proposal