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 1kOX7M-0000vr-0Q for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 02:17:48 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kOX7J-0002c4-VK for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 02:17: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 1kOX7I-0002bv-ML for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 02:17:45 +0000 Received: from mx32.harte-lyne.ca ([216.185.71.32]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOX7B-0006QS-4u for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 02:17:42 +0000 Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id 613795A6EB; Fri, 2 Oct 2020 22:17:34 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id sKyxg2M5aFZk; Fri, 2 Oct 2020 22:17:28 -0400 (EDT) Received: from webmail.harte-lyne.ca (webmail.hamilton.harte-lyne.ca [216.185.71.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id BDC4F5A6E0; Fri, 2 Oct 2020 22:17:27 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1601691448; bh=SnjOxF1+nG9C87c0GKPMJR9S+1rD9iW6BAYAhYoE0Qk=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=zU7UD5WrXQ40bDwJ4wLdZiuH+Kfgliq3C7/SItcPTvENJzotHphfXH/JA/MoNAW/3 v3vxDsN6ulG3+R9MeYkIdPwGkyECcefVAv8XZGohAxy5gxhBpqcpcpDs+AuSW0mEU6 OAPHnGFO+Cu3QEr3KVX5+9N8bQwMgkEMAMEcJDOt6Ae1aaTdW77cNmME85tKEQWEz6 2duTLObnzWNNxFS6Rr8ZvY2+bPVCFVJ7GhfuFTki3m7Rt5MdOa0I7SJRbpYbneS2vQ 14yk2ml38UT5HpP20K4PK6awneUOmHWo4lNfIERSvXdG+rzbs9X3t2gaJNuBvADemm YF4y3Voerqg/g== Received: from 216.185.71.104 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Fri, 2 Oct 2020 22:17:27 -0400 Message-ID: <18298e7842509cfc16a435d3d03da209.squirrel@webmail.harte-lyne.ca> In-Reply-To: <1314954.1601687587@sss.pgh.pa.us> References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <1280442.1601678775@sss.pgh.pa.us> <1314954.1601687587@sss.pgh.pa.us> Date: Fri, 2 Oct 2020 22:17:27 -0400 Subject: Re: UUID generation problem From: "James B. Byrne" To: "Tom Lane" Cc: pgsql-general@lists.postgresql.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, October 2, 2020 21:13, Tom Lane wrote: > "James B. Byrne" writes: >> On Fri, October 2, 2020 18:46, Tom Lane wrote: >>> The two likely possibilities are that Idempiere isn't connecting to the >>> same database as you are doing manually, or that it is using a search_path >>> setting that doesn't include the "public" schema. >>> I think you could also get this if the "public" schema is not readable >>> by Idempiere's userid, but that doesn't seem terribly likely. > >> idempiere=# \dn >> List of schemas >> Name | Owner >> -----------+----------- >> adempiere | adempiere >> public | postgres > > Uh ... that rules out exactly none of those three possibilities. > "\dn" says what schemas exist, but it tells you nothing about > either search_path or privileges. > > You could try "select current_schemas(true)" to narrow things > down a little bit, as that would show the active search path > in your session. > > regards, tom lane > Sorry about that. Still finding my way. Anyway, I believe that I may have found the problem. When I created the test database I was following the software installation guide. The user the guide refers to is 'adempiere' and not 'idempiere_dbadmin'. At some point I came at the task from a different pov and created another user to be the database owner. Cannot say why but it is evident that is what I did. I will resolve the conflict either by granting 'idempiere_dbadmin' the necessary privileges or by changing the connection to use the 'adempiere' user instead. Thanks for the pointers. Regards, P.S. If it turns out to be something else then I will return with more details. -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3