Re: [Doc] Tiny fix for regression tests example

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: "tanghy(dot)fnst(at)fujitsu(dot)com" <tanghy(dot)fnst(at)fujitsu(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "peter(at)eisentraut(dot)org" <peter(at)eisentraut(dot)org>, Craig Ringer <craig(dot)ringer(at)2ndquadrant(dot)com>
Subject: Re: [Doc] Tiny fix for regression tests example
Date: 2021-07-26 04:04:00
Message-ID: YP40MHqvUJuJPcwW@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs pgsql-hackers

On Fri, Jul 23, 2021 at 06:12:02AM +0000, tanghy(dot)fnst(at)fujitsu(dot)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

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message tanghy.fnst@fujitsu.com 2021-07-26 05:50:28 RE: [Doc] Tiny fix for regression tests example
Previous Message Tom Lane 2021-07-24 16:03:42 Re: Set-Returning functions in a select list

Browse pgsql-hackers by date

  From Date Subject
Next Message osumi.takamichi@fujitsu.com 2021-07-26 04:12:16 RE: logical replication empty transactions
Previous Message Fujii Masao 2021-07-26 03:35:01 Re: Planning counters in pg_stat_statements (using pgss_store)