Re: ALTER SYSTEM RESET?

From: Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
To: Vik Fearing <vik(dot)fearing(at)dalibo(dot)com>
Cc: Christoph Berg <cb(at)df7cb(dot)de>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ALTER SYSTEM RESET?
Date: 2014-08-25 04:34:22
Message-ID: CAA4eK1JFwkKfSfGL9ZB8_gkoaQTGZj28hx+Lp1ZOokDxMD1=pQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jul 30, 2014 at 9:11 AM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>
wrote:
> I have verified the patch and found that it works well for
> all scenario's. Few minor suggestions:
>
> 1.
> ! values to the <filename>postgresql.auto.conf</filename> file.
> ! Setting the parameter to <literal>DEFAULT</literal>, or using the
> ! <command>RESET</command> variant, removes the configuration entry
from
>
> It would be better if we can write a separate line for RESET ALL
> as is written in case of both Alter Database and Alter Role in their
> respective documentation.
>
> 2.
> ! %type <vsetstmt> generic_set set_rest set_rest_more generic_reset
reset_rest SetResetClause FunctionSetResetClause
>
> Good to break it into 2 lines.
>
> 3. I think we can add some text on top of function
> AlterSystemSetConfigFile() to explain functionality w.r.t reset all.

I have updated the patch to address the above points.

I will mark this patch as "Ready For Committer" as most of the
review comments were already addressed by Vik and remaining
I have addressed in attached patch.

With Regards,
Amit Kapila.
EnterpriseDB: http://www.enterprisedb.com

Attachment Content-Type Size
alter_system_reset.v4.patch application/octet-stream 8.6 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2014-08-25 05:12:33 Re: Maximum number of WAL files in the pg_xlog directory
Previous Message Alvaro Herrera 2014-08-25 01:57:57 Re: SKIP LOCKED DATA (work in progress)