Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w9gYB-001eGe-1R for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Apr 2026 09:47:19 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1w9gY9-007fBg-2n for pgsql-hackers@arkaria.postgresql.org; Mon, 06 Apr 2026 09:47:18 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1w9gY9-007fBY-1p for pgsql-hackers@lists.postgresql.org; Mon, 06 Apr 2026 09:47:17 +0000 Received: from mail-lf1-x135.google.com ([2a00:1450:4864:20::135]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1w9gY8-00000000pdz-0s1L for pgsql-hackers@postgresql.org; Mon, 06 Apr 2026 09:47:17 +0000 Received: by mail-lf1-x135.google.com with SMTP id 2adb3069b0e04-5a0ff30b240so4535774e87.0 for ; Mon, 06 Apr 2026 02:47:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1775468835; cv=none; d=google.com; s=arc-20240605; b=YMDLWP+AXI/76wZgyV0ogC4EEEPaKGBLKIlLVCyC8YTN/A79cSSVcOichcPW9cxTX9 IF82HT+9QQrhvgtj0RAwrkjP2323/jL+b9ryYEE2k+EwfKkG3eMSF1UEC/nX1oYMitsE aEJqzgEhHlTREZQyRHfRfnnslml747mEl20VOC+jH+UGOfH6hxmR5YM/xq7oDT18cBfB xRwiPQYl/7Dqtz8uafe3reT84Npr6qpfRsXS/tcKiKM5e9De8IXTSEOHcjuvoU0rWLkQ yRfntg8+PnTJw/qRVnVGoeyCDpvtQuapuPuNz+p4WNs+7LDrdOv7qPXzKM5EpHoQ1xIm ZdAQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=6MOKvid2k9reYJEbA4K48KEVHow4R4zxblKjPH4Hy5w=; fh=V07EkcxGU8QrgcPj0HxpUBHSuGPahF8Jf+r0g+wu/+8=; b=DocoIlpiL5/ltalyrzTjJB0RSgAqfo8uLROsHAjCVxzQziebcqXF7FgFN34bRPTtrZ KQcsl/gN0Ud3DW+e1ZPWA9xrc2BzsscWdgdBeMkrFExGvLWchxQ2uSCZe9mlOl13OklG CMnN1FqtmoQ7G6zMAKpxKmH6Kwl5y+J82m9hAw1TbpLPJ2SC2A4tPsGUr1fEQPHxXKqp P3enzwktzoIgl9PfxVh9psT1iuwky9IyVbZmQIGDk6lkmyWBN8Xd0dqm8A4+IRUX8lAy p9QOuw/QyXDplhdq37+HYrGVbKk1yrCwWNrTFG6xTrKfQKlF48twWwFvySr8XNSF5W+m TD9g==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jeltef.nl; s=google; t=1775468835; x=1776073635; darn=postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=6MOKvid2k9reYJEbA4K48KEVHow4R4zxblKjPH4Hy5w=; b=YlYmx7pGDHC8J7f6NTgP6ts8VQfNPOOBJsf8QZmV7QbMu1u2qs8snQRORq1wDGIexi suCKRFTvglXRjq54xN15KXAdeWKk0T4iWQrzrfWaqidm7dvU0KeHYBhnUcTxD+lFyPwK EV7h+35XR/31WE6vco2dKaWt5TbNDeGcg2toxDT1RciiuUZSJR1QMTEljbSsgyG1i62H UXMZQDJLfTEDi7XbETUxwdZrXTcoSxKx9fNVqNHr80uStQBXQOyzLkwoQNE5fwhF0Hec w2YYA4jV8qat9M5cd8eU083mcIG2rDYGT186IUxds3Pn+4DXCOBSFRPpOttMnUVi1w0n GAMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775468835; x=1776073635; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=6MOKvid2k9reYJEbA4K48KEVHow4R4zxblKjPH4Hy5w=; b=Dz1WnY6ZE62eXLlMNhhU/BUi2T6LcCQiLSfwv9haIHqTac9UFaWN8ZG2ojGSKNdS+m S1y/gM9NlaIu2Xlpigv8PnBm/5x/7N35uPH4nlPEUvCtBuFLpYZJ4pKCTtZ+BzaO5k2t PteyykeL5xg8BJLSfrAFi0JiNDNOyujzKr+vUQNfKS54VxnYbIJG9XcDmTcl4i1QO/lI 8DgFNOv/oyV+ELNZ4FqbIMibO4nFDenYnexT+wklz62KmpqFX6llAFJadl5xeIRiKjQv ED6sX+59I/hDdSqAwWgnOU1A8EQ8C4aIoOevZ9pkuzHuzt7a6PHtMSchVBkqHFjJA3Zh 08kQ== X-Gm-Message-State: AOJu0YyLmkyDQvzVnGN5R8q7YGM/bBMejFqQsjQNrPz+9Q5hIGs0G5hT 7lyX4IfrH9ocqlMhGb++an7ZjFUj5MkRVF+czbkJv9lLuDscWHHP49yHTX8y8c/ZspIm3fIzbVV xWv70G7Z4zJZnnC6swd+FsfL/GyhS30IXFtH16OqrgQ== X-Gm-Gg: AeBDiet6sEZoJNfNj1o9RcBc8WrJ+qW2Jn/088pOyfFJSjhA6Ap1k0lBInmQpJvDUXc ilDWwWSEbJ2WejcnWYblfeKs4wo2KWGc8O5u6s/rxa402/3lTax+JYFJHXBwCDFpUqqsmINHI8h fakvDaJC88G48tH2tubSIxXf/oDQghHCncOVk0tM8h3d7mQVNhrKdZAdGG5LyTEU3unC3bWBGPT OC4u/uWFqg4IYP6GTpwfBAzvhfdkWHzPZnYXkeraPnbkPkZLLwNQspz1aNuUlBMXRK//rqZbfl9 aBD2482oOmMEIFXKfigj+s5CdALDzLLmoPlB X-Received: by 2002:a05:6512:2558:b0:5a3:8fef:f8be with SMTP id 2adb3069b0e04-5a38fefff4emr2319762e87.30.1775468834554; Mon, 06 Apr 2026 02:47:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Jelte Fennema-Nio Date: Mon, 6 Apr 2026 11:47:02 +0200 X-Gm-Features: AQROBzDI4Liq5bAE7WJsaH4uSA5wvVLYNUXDIzDFXxHJkje1670lTXxye_UV2Hs Message-ID: Subject: Re: Environment variable to disable diffs file output To: =?UTF-8?B?0JjQu9GM0Y8g0KfQtdGA0LTQsNC60L7Qsg==?= Cc: pgsql-hackers Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, 6 Apr 2026 at 09:56, =D0=98=D0=BB=D1=8C=D1=8F =D0=A7=D0=B5=D1=80=D0= =B4=D0=B0=D0=BA=D0=BE=D0=B2 wrote: > I'd like to add a environment variable to the patch to > disable diff output. Sometimes you have to be creative > with exploratory testing, modifying test files, etc., > and multiple diff outputs can become a nuisance. This > doesn't change the default behavior, but it does give > you control over diff output in tests for specific > scenarios where a large number of failures are expected > (mass runs or exploratory testing with changing tests). I'm fine with adding the abilitity to configure what pg_regress should print, but it's unclear to me what's special about the diff output compared to all the other output? i.e. what is the output you would actually like to see for your use case? Piping everything to /dev/null would silence all output except for the exit code, but I guess you want some output. i.e. what do you do with the output that you get? Do you only want to know which tests failed? If so, do you care about which tests are passing?