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 1wVE9e-001nl9-25 for pgsql-admin@arkaria.postgresql.org; Thu, 04 Jun 2026 19:55:03 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wVE9c-008J76-0W for pgsql-admin@arkaria.postgresql.org; Thu, 04 Jun 2026 19:55:00 +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 1wVE9b-008J6x-2W for pgsql-admin@lists.postgresql.org; Thu, 04 Jun 2026 19:54:59 +0000 Received: from mx3.edn2.eu ([2a01:4f8:1c0c:a77b::1]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wVE9Y-000000017gK-3mHe for pgsql-admin@lists.postgresql.org; Thu, 04 Jun 2026 19:54:58 +0000 Received: from smtpclient.apple (p200300fb4f0749016d2a2818977614e7.dip0.t-ipconnect.de [IPv6:2003:fb:4f07:4901:6d2a:2818:9776:14e7]) (using TLSv1.2 with cipher ECDHE-ECDSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx3.edn2.eu (Postfix) with ESMTPSA id 4gWZzC5dkzzkMr for ; Thu, 04 Jun 2026 21:54:47 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellael.org; s=dkim; t=1780602887; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FjplnlguR2RrBm405Xn42OoZDcQbgDnhUcVSoi29r4U=; b=c9rwhdYV9+NupyzX/HZJ2cukb1cjDV9fw0slss0LSptIEe1iIj7Am+ZGS28mOGuDshuuxC MXXUeGJrRmlhJ4ptbEkBkZ71MUp9o2BeL8AuHR/V24JWzUksA5wdb7z47W+jOSxWUFOjsp aPiW/5CrtFEzJb5fegb/SQSG/omTLZM2nd/BjlwNsX1mtgi4Q+IKHeZw2JKYbl6y50HIlZ fQLmGZvcnw12doGC/wI8QlbZ3xrWn30+2S2RNKyQW5ErOOrJnJN8db70EcS6IyU7vt6t/E Qp5gc4XB+zBInYD3EkNmKlGv8Mc4VzuU5RlkwaMiHghRD4XYH7JBS+E9RDCyTg== From: Michael Grimm Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\)) Subject: Howto tell pg_ctl to use a non-default directory for config files Message-Id: Date: Thu, 4 Jun 2026 21:54:37 +0200 To: pgsql-admin@lists.postgresql.org X-Mailer: Apple Mail (2.3864.600.51.1.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Hi, FYI: I am pretty new to PostgreSQL, and I am intending to migrate from = an MariaDB/Galera cluster to PostgreSQL with either Patroni or = pg_auto_failover. And, I have successfully tested a stand-alone database = with my client of interest [1], both running inside a FreeBSD jail.=20 Question:=20 Is there a way to tell PostgreSQL to look for config files in e.g. = /usr/local/etc/postgres, where normally all config files reside in = FreeBSD? [2] Thanks and regards, Michael [1] https://dbmail.org [2] As an intermediate solution I am using soft links from $PGDATA to = /usr/local/etc/postgres=