Re: [BUGS] BUG #1148: server restarts depending on stats options - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [BUGS] BUG #1148: server restarts depending on stats options
Date
Msg-id 200405080207.i4827gq05396@candle.pha.pa.us
Whole thread Raw
In response to Re: [BUGS] BUG #1148: server restarts depending on stats options  (Peter Eisentraut <peter_e@gmx.net>)
Responses Re: [BUGS] BUG #1148: server restarts depending on stats options  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Peter Eisentraut wrote:
> Bruce Momjian wrote:
> > I have applied the attached patch to fix this problem.  Sample output
> > is:
> >
> >     test=> set log_statement_stats = true;
> >     SET
> >     test=> set log_parser_stats = true;
> >     ERROR:  Can not enable parameter when "log_statement_stats" is true.
>
> According to message style guide (and English dictionary):
>
> ERROR:  cannot ... is true

Thanks:

    errmsg("cannot enable parameter when \"log_statement_stats\" is true.")));
    errmsg("cannot enable \"log_statement_stats\" when \"log_parser_stats\",\n"
        "\"log_planner_stats\", or \"log_executor_stats\" is true.")));

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Rod Taylor
Date:
Subject: Re: NEXT VALUE FOR...
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] BUG #1148: server restarts depending on stats options