From: Tom Lane <tgl@sss.pgh.pa.us>
To: byrnejb@harte-lyne.ca
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: UUID generation problem
Date: Mon, 05 Oct 2020 12:06:56 -0400
Message-ID: <1732745.1601914016@sss.pgh.pa.us> (raw)
In-Reply-To: <afb165220d3b3404aebaae979fdaeed2.squirrel@webmail.harte-lyne.ca>
References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca>
<86544317-8fa2-9193-6af2-6b6e5eab1cba@aklaver.com>
<d4d8c3b2def5f1cb33bffe21a7085811.squirrel@webmail.harte-lyne.ca>
<dfc4a83f-c227-684c-c841-e2fa7069bd4b@aklaver.com>
<13a362eba18fbef24f8170a3e0cd8a9f.squirrel@webmail.harte-lyne.ca>
<1721392.1601909600@sss.pgh.pa.us>
<afb165220d3b3404aebaae979fdaeed2.squirrel@webmail.harte-lyne.ca>
"James B. Byrne" <byrnejb@harte-lyne.ca> 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: tgl@sss.pgh.pa.us, byrnejb@harte-lyne.ca, adrian.klaver@aklaver.com
Subject: Re: UUID generation problem
In-Reply-To: <1732745.1601914016@sss.pgh.pa.us>
References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <86544317-8fa2-9193-6af2-6b6e5eab1cba@aklaver.com> <d4d8c3b2def5f1cb33bffe21a7085811.squirrel@webmail.harte-lyne.ca> <dfc4a83f-c227-684c-c841-e2fa7069bd4b@aklaver.com> <13a362eba18fbef24f8170a3e0cd8a9f.squirrel@webmail.harte-lyne.ca> <1721392.1601909600@sss.pgh.pa.us> <afb165220d3b3404aebaae979fdaeed2.squirrel@webmail.harte-lyne.ca> <1732745.1601914016@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox