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 1vpZGi-00BGsh-1x for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Feb 2026 21:58:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vpZGh-00ChwX-2A for pgsql-bugs@arkaria.postgresql.org; Mon, 09 Feb 2026 21:58:07 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vpZGh-00ChwP-1K for pgsql-bugs@lists.postgresql.org; Mon, 09 Feb 2026 21:58:07 +0000 Received: from mail-oo1-xc30.google.com ([2607:f8b0:4864:20::c30]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1vpZGf-00000001stD-1B2F for pgsql-bugs@lists.postgresql.org; Mon, 09 Feb 2026 21:58:06 +0000 Received: by mail-oo1-xc30.google.com with SMTP id 006d021491bc7-66a4780b4abso1118844eaf.3 for ; Mon, 09 Feb 2026 13:58:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1770674283; x=1771279083; darn=lists.postgresql.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=sVP2d5VcRntArlNJOHnWHUOj1EihFTXvOw2/KK/k3dU=; b=j3i+lL+KUSDILloNM+PBRtUYZEyQx7e6xkDYVJ9VGSbt69gaKJ+gRb67vDFHN3EJlP azDfS0lNDLYk3ScACLSofAtaBV4J7h3erAZ8Hkx083Ff2uhVklFVFziWstJqU92nSnlW hHBflfFDgojnVWSGcOA4BIkiucLspPiCodBqxb2QaOu2RthHJwa0ApJgTyG5fr3M2VQA hx6/hYqiXtF/J0ZL+1aMK7yeOXVBVst/b9OdnbSGm1cBIY74Eqv7OCPZbYIhsy/jTX7c zW40dmLtJbBTO+lF2ryG2tBuOGgidkT1b5c/V9yOKmDq8ud1ZBWSOhUuUDyuIlo/LVsC piHA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770674283; x=1771279083; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=sVP2d5VcRntArlNJOHnWHUOj1EihFTXvOw2/KK/k3dU=; b=TN1ciDetzCdGBt6CCfXTVXnOdMVl8gtbf0uniEYaZFHMgpYgHFAp2ZbEBIS5wj7DCc 3sXIdYiAUd7AqYTszPEbo4pUJ63ITJgm4yRnXIOQHjbBWFehj/u5rfCA1pWcqbwIMwNB kkE5WytPMrOYa3+uO97XkyBBdaQCterqv73r01ahw6XE88tzZvPtbjV682/Dnl1/lHFD 3FcbbV2ANOvkREsdoW/gapyhuMxuZCa7TiLLQKNQRAWknT4U83RPHkZ/2S0JsGnEupef c/ZqLSz+O9d9tEt21OtqzOllOwTK998s7rr/2ZtaoiBpntS8cnC9X13Cp/sikIW1J4qJ xWRg== X-Forwarded-Encrypted: i=1; AJvYcCWjPVLfHx+Zp16AyoEuen2CfaWT3CJI8GDkZ57lKa5ZUxlkfAMKpunmyyGIJzlWmQ2EdkMIgat6Epki@lists.postgresql.org X-Gm-Message-State: AOJu0YwGiO1Fu94NkqEEysrf/ISjotKqnyLA0WXZvglOMYN1NizObbjg BeG+JGxNdtXAjK9DHdDNe/WdtreOywFfa1FnEUdlLRvfBAcxbLsNuUxB X-Gm-Gg: AZuq6aLNTRDcZ3tdMBHQbWgWOO8Om/MhCk4Tpq4r3n8fSHR+yniOO6n4OscK0zC4Nbt Saa+W0ARjQUCI5CgFa9D5HyLOataOfG2FDVqIlNB9uLLwoP3HLAgeQs2mILifVn/+qb2GCu91iw LKONkysChiEHPMgS1pyg7J+qpACV+PoGKmTz/qPXgrxMrtoauFpNk/T4bfra700bfHoZML7R7C+ 69XY3FGldVO2N/YxGvyKoDea7g8syJYVQkC5n4QvvAR1I1uHQIif3ZGKTo5N53gXeApZIE806fk TaCg8js+oyfaaIkA8upjc+kNBXh2Rs5B0bWz/AtmoC7zKV70tfYSQEiXoN/NhxApqgHDRPtH4C6 Uu5HfcvGqGlYRBm338yQLTvryOe9BVpjzh56LCbhSfgbc2cGTMwi8UrKc2oo08WpRBVVAW7P7R1 ad4Urc6tTztVW0DphWL6ErqLmhXHyqmO1rMUjxR7fr4RuobPF4IH+AzZDCCnllnGECawHYjoMO2 gh6 X-Received: by 2002:a05:6820:1896:b0:663:d58:63f9 with SMTP id 006d021491bc7-66d0bdaf9d4mr5501173eaf.42.1770674283556; Mon, 09 Feb 2026 13:58:03 -0800 (PST) Received: from nathan (162-195-168-172.lightspeed.stlsmo.sbcglobal.net. [162.195.168.172]) by smtp.gmail.com with ESMTPSA id 006d021491bc7-672934e2838sm643948eaf.10.2026.02.09.13.58.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 09 Feb 2026 13:58:03 -0800 (PST) Date: Mon, 9 Feb 2026 15:58:01 -0600 From: Nathan Bossart To: Fujii Masao Cc: Sergei Kornilov , =?utf-8?B?0J7Qu9C10LMg0KHQsNC80L7QudC70L7Qsg==?= , pgsql-bugs@lists.postgresql.org, =?utf-8?Q?=C3=81lvaro?= Herrera Subject: Re: basic_archive lost archive_directory Message-ID: References: <202601301728.sfkizrto3t5i@alvherre.pgsql> <9b9341b0-942e-4d34-b94f-92bd918fad04@ya.ru> <1317421770387925@cea5cfd9-50d3-4d85-a924-a7cc75f8f215> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, Feb 10, 2026 at 02:46:39AM +0900, Fujii Masao wrote: > basic_archive is usually loaded only by the archiver via archive_library. > In that case, errors reported by check_archive_directory() are not logged > by default, since GUC check hook errors are normally emitted only by > the postmaster. As a result, misconfigurations (e.g., a non-existent > archive_directory) may go unnoticed, which is problematic for users. I don't think this is true. With default parameters, I see the following in my logs with a misconfigured archive directory setting: 2026-02-09 15:53:10.372 CST [12803] WARNING: invalid value for parameter "basic_archive.archive_directory": "/does/not/exist" 2026-02-09 15:53:10.372 CST [12803] DETAIL: Specified archive directory does not exist. -- nathan