Re: Mark change-on-restart-only values in postgresql.conf

Lists: pgsql-patches
From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: pgsql-patches(at)postgresql(dot)org
Subject: Mark change-on-restart-only values in postgresql.conf
Date: 2006-07-18 21:44:20
Message-ID: 44BD5634.5030001@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

I added additional comments marked setting which need server restart to
take effect. I use (!RSR!) tag for it, however if anybody have different
idea, let me know and I will change it.

I removed comments about commenting out behavior too, because patch now
waiting for commit (or reject?).

Zdenek

Attachment Content-Type Size
pg_conf.patch text/x-patch 8.1 KB

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Cc: Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com>
Subject: Re: Mark change-on-restart-only values in postgresql.conf
Date: 2006-07-22 12:36:27
Message-ID: 200607220836.27725.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

On Tuesday 18 July 2006 17:44, Zdenek Kotala wrote:
> I added additional comments marked setting which need server restart to
> take effect. I use (!RSR!) tag for it, however if anybody have different
> idea, let me know and I will change it.
>

Out of curisoity, does the !RSR! actually have some meaning? !RRS (requires
restart) or !RR or !RS (restart) all seem more straightforward.

More importantly, I think you need to mark all of the variables with the
special tag individually, as opposed to where, like in the kerberos settings,
you just say "all kerberose settings require restart". This is mainly
because...

> I removed comments about commenting out behavior too, because patch now
> waiting for commit (or reject?).

I know some setups remove all commented options from the postgresql.conf, so
that only modified parameters are left inside the postgresql.conf. If they
want to change a setting, they add it into the conf. I think the theory is
that this is either more secure, since it would require more knowledge to
modify the postgres settings this way, or it is a nod to making
postgresql.conf more portable accross versions (by keeping a smaller subset
of changes its more likely they will work across versions) or in an effort to
make the postgresql.conf simpler (by removing a lot of variables that will
never be modified)... in any case it is a valid setup in 8.1, unfortunatly I
haven't had time to test your patch with CVS, but do you know if it can
support those types of configurations?

--
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL


From: "Jaime Casanova" <systemguards(at)gmail(dot)com>
To: "Zdenek Kotala" <Zdenek(dot)Kotala(at)sun(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Mark change-on-restart-only values in postgresql.conf
Date: 2006-07-22 22:37:07
Message-ID: c2d9e70e0607221537pea1e2c0lde4efe36b4bc26a8@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

>
> I removed comments about commenting out behavior too, because patch now
> waiting for commit (or reject?).
>
>
> Zdenek
>

not a big deal but, i think, you should remove this in the patch that
implements that behavior rather than in a newer one that still must be
discussed.

BTW, you have a typo in this line

+ # All file locations settings change require server restart to tak effect.

--
regards,
Jaime Casanova

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs and the universe trying
to produce bigger and better idiots.
So far, the universe is winning."
Richard Cook


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-patches(at)postgresql(dot)org, Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com>
Subject: Re: Mark change-on-restart-only values in postgresql.conf
Date: 2006-07-24 09:52:12
Message-ID: 200607241152.14369.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Am Dienstag, 18. Juli 2006 23:44 schrieb Zdenek Kotala:
> I added additional comments marked setting which need server restart to
> take effect. I use (!RSR!) tag for it, however if anybody have different
> idea, let me know and I will change it.

It seems that people didn't like introducing secret codes into the
configuration file, so I adapted your patch and changed the marker
to "(change requires restart)".

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Mark change-on-restart-only values in postgresql.conf
Date: 2006-07-24 10:25:29
Message-ID: 44C4A019.3090106@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Peter Eisentraut wrote:
> Am Dienstag, 18. Juli 2006 23:44 schrieb Zdenek Kotala:
>> I added additional comments marked setting which need server restart to
>> take effect. I use (!RSR!) tag for it, however if anybody have different
>> idea, let me know and I will change it.
>
> It seems that people didn't like introducing secret codes into the
> configuration file, so I adapted your patch and changed the marker
> to "(change requires restart)".
>

OK, I going to change. Is there any limit to char per line?

Zdenek


From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Zdenek Kotala <Zdenek(dot)Kotala(at)sun(dot)com>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Mark change-on-restart-only values in postgresql.conf
Date: 2006-07-24 10:44:58
Message-ID: 200607241245.00223.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Am Montag, 24. Juli 2006 12:25 schrieb Zdenek Kotala:
> OK, I going to change. Is there any limit to char per line?

It's already committed.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/


From: Zdenek Kotala <Zdenek(dot)Kotala(at)Sun(dot)COM>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: Mark change-on-restart-only values in postgresql.conf
Date: 2006-07-24 11:00:16
Message-ID: 44C4A840.4060700@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Peter Eisentraut wrote:
> Am Montag, 24. Juli 2006 12:25 schrieb Zdenek Kotala:
>> OK, I going to change. Is there any limit to char per line?
>
> It's already committed.
>

Oh, excellent. Thanks