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 1kPT1C-0002ML-Um for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 16:07:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPT1B-0000ti-Sv for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 16:07:17 +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 1kPT1B-0000tb-Kr for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 16:07:17 +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 1kPT19-0005GI-Kn for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 16:07:16 +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 095G6u8R1732746; Mon, 5 Oct 2020 12:06:56 -0400 From: Tom Lane To: byrnejb@harte-lyne.ca cc: "Adrian Klaver" , pgsql-general@lists.postgresql.org Subject: Re: UUID generation problem In-reply-to: References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <86544317-8fa2-9193-6af2-6b6e5eab1cba@aklaver.com> <13a362eba18fbef24f8170a3e0cd8a9f.squirrel@webmail.harte-lyne.ca> <1721392.1601909600@sss.pgh.pa.us> Comments: In-reply-to "James B. Byrne" message dated "Mon, 05 Oct 2020 11:43:21 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1732744.1601914016.1@sss.pgh.pa.us> Date: Mon, 05 Oct 2020 12:06:56 -0400 Message-ID: <1732745.1601914016@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "James B. Byrne" writes: > On Mon, October 5, 2020 10:53, Tom Lane wrote: >> I continue to suspect that you are somehow >> confusing yourself by testing in different databases and/or >> with different user accounts. > Possibly. I do not make any definitive claims at this point. However, the > application properties of the DB connection are: > Connection=xyzCConnection[name\=accounting.harte-lyne.ca > {localhost-idempiere-idempiere_dbadmin}, > AppsHost\=accounting.harte-lyne.ca, > WebPort\=8080, > SSLPort\=8443, > type\=PostgreSQL, > DBhost\=localhost, > DBport\=5432, > DBname\=idempiere, > BQ\=false, > FW\=false, > FWhost\=, > FWport\=0, > UID\=idempiere_dbadmin, > PWD\=xxxxxxxxxxxxxxxx] Hm, is "UID" really how they spell "database user name"? Doesn't seem terribly consistent with the other field names you show here. > [root@accounting-2 ~ (master)]# psql --dbname=idempiere > --username=idempiere_dbadmin psql, by default, is going to try to connect to a Unix socket. I wonder if you've got two postmasters on that machine and the other one is what's answering TCP port 5432. You might try explicitly saying "--host=localhost" here. regards, tom lane