Re: Overhauling GUCS

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Gregory Stark <stark(at)enterprisedb(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Overhauling GUCS
Date: 2008-06-06 10:37:48
Message-ID: 4849137C.3040008@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Gregory Stark wrote:
> "Andreas Pflug" <pgadmin(at)pse-consulting(dot)de> writes:
>
>
>> Why do so many people here insist on editing postgresql.conf as primary means
>> of changing config params?
>> Isn't a psql -c "SET foo=bar; MAKE PERSISTENT" just as good as sed'ing
>> postgresql.conf or doing it manually?
>>
>
> no, it's awful.
>
>

So I wonder why you accept it when configuring schemas. What's the big
difference between setting a config param, and creating a table?

And ultimately, the config param file format may well look like an SQL
command file, restricted to SET only.

> And in every major installation I've seen people use the last option. They
> treat the original text file which is kept elsewhere -- normally checked into
> some revision control system, tracked and managed like source code -- as the
> canonical and authoritative version.
>

That's how you'd have to manage the schema sources too, no? Your
comments are lost as well after schema creation scripts are executed,
and manual changes may interfere with that.

Regards,
Andreas

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Gregory Stark 2008-06-06 11:19:33 Re: Overhauling GUCS
Previous Message Gregory Stark 2008-06-06 10:13:42 Re: Overhauling GUCS