Re: [Doc] Tiny fix for regression tests example - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: [Doc] Tiny fix for regression tests example
Date
Msg-id YP40MHqvUJuJPcwW@paquier.xyz
Whole thread Raw
In response to [Doc] Tiny fix for regression tests example  ("tanghy.fnst@fujitsu.com" <tanghy.fnst@fujitsu.com>)
Responses RE: [Doc] Tiny fix for regression tests example  ("tanghy.fnst@fujitsu.com" <tanghy.fnst@fujitsu.com>)
List pgsql-hackers
On Fri, Jul 23, 2021 at 06:12:02AM +0000, tanghy.fnst@fujitsu.com wrote:
> Here's a tiny fix in regress.sgml.
>
> -make check PGOPTIONS="-c log_checkpoints=on -c work_mem=50MB"
> +make check PGOPTIONS="-c geqo=off -c work_mem=50MB"
>
> log_checkpoints couldn't be set in PGOPTIONS.
>
> Replace log_checkpoints with geqo in the example code.

Right, that won't work.  What about using something more
developer-oriented here, say force_parallel_mode=regress?

> -make check EXTRA_REGRESS_OPTS="--temp-config=test_postgresql.conf"
> +make check EXTRA_REGRESS_OPTS="--temp-config=$(pwd)/test_postgresql.conf"
>
> User needs to specify $(pwd) to let the command execute as expected.

This works as-is.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: Planning counters in pg_stat_statements (using pgss_store)
Next
From: "osumi.takamichi@fujitsu.com"
Date:
Subject: RE: logical replication empty transactions