Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQ7NC-0001MX-Vg for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Aug 2022 13:21:46 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oQ7NB-0005xU-JG for pgsql-bugs@arkaria.postgresql.org; Mon, 22 Aug 2022 13:21:45 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQ7NB-0005xL-B3 for pgsql-bugs@lists.postgresql.org; Mon, 22 Aug 2022 13:21:45 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQ7N9-0002kk-7B for pgsql-bugs@lists.postgresql.org; Mon, 22 Aug 2022 13:21:44 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 27MDLdmw259037; Mon, 22 Aug 2022 09:21:39 -0400 From: Tom Lane To: "Garbuz, Yakov [ASM Research]" cc: "pgsql-bugs@lists.postgresql.org" Subject: Re: [External] Re: BUG #17585: Wrong path to the extension control file In-reply-to: References: <17585-f1cb9854d087c002@postgresql.org> <204589.1660345049@sss.pgh.pa.us> Comments: In-reply-to "Garbuz, Yakov [ASM Research]" message dated "Mon, 22 Aug 2022 13:16:34 -0000" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <259035.1661174498.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Mon, 22 Aug 2022 09:21:39 -0400 Message-ID: <259036.1661174499@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "Garbuz, Yakov [ASM Research]" writes: > SELECT version(); > "PostgreSQL 12.6 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 201= 91121 (Red Hat 8.3.1-5), 64-bit" > SHOW config_file; > "/var/lib/postgresql/data/postgresql.conf" > cat: /var/lib/postgresql/data/postgresql.conf: No such file or directory > There is no postgresql directory in /var/lib/ The best explanation I can see for that is that the server is on some other machine than where you are running psql/cat. I guess it's at least theoretically possible that the server was originally started in /var/lib/postgresql/data and somebody moved that directory since then. In any case, none of this looks like a Postgres bug; it looks like sloppy sysadmin work. You're going to have to puzzle out what's been done in that installation by yourself, because the rest of us don't have the facts available. regards, tom lane