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 1kOZAA-00053N-Ie for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 04:28:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kOZA8-0004E9-RP for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 04:28:48 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOZA7-0004E1-2m for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 04:28:48 +0000 Received: from [66.111.4.28] (helo=out4-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOZ9y-0003KO-W9 for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 04:28:46 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3C7275C010D; Sat, 3 Oct 2020 00:28:27 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Sat, 03 Oct 2020 00:28:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=n vM85IfdIOuBW9UagHXEhRItEYTJcgbesC/1Nhd5J/c=; b=qfs/mXpJsSc9gaKtu ltDOWZJemAgTJX6sDKHbzkgFZeOIDs8CeGT+APNO4BBusSvqtuxpYamYe/erDTz3 CEg5fP6cCFEpcaVUaUuYzXfovGJgA1shhyFh2aHgPjSIAGJmM+FRcAAo+bcmG5TU FGyOntTHrBRJ22O+7C60O597IcoXifgwXu+kuty8kHan2r28nTHu/zi8FXb5pnEp TwsHdTZGOpbfzGIsRiOjoY28T6pA4056GE8McrhsZIUNUoq1tDB6gH8F/EpANWWR c5fdShCAo+lOQFIfFqB/iWvK60lsKxntxkTF3RJQsA95CqBiCk9QwqMp66Ry9p0C fIoOg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=nvM85IfdIOuBW9UagHXEhRItEYTJcgbesC/1Nhd5J /c=; b=PjY2OwFMTMlSBG9TYqJmTgCcC/7s4EZKq1/7tjfYbvkkCGjsIVhF+4Wxk xTJONSSi7ciO6fcNXU+LIsFG6aqFu+F29TEXvHNW9jfm4uzMS06VldDzHvDJhLdN 4TOdOD0oBLFuqI37YnBemHqjZOox2tkuZayRspLq59FQlihK+Ct7Fl8Z2HxhnHy1 jRLKfKXRI7w1oCIVMb3Sp277uJ+sOtdfuwGyVJRfkSnlgewcM04TCI5N4GikczDL LB+nScNbqtZE72AWSxqh+TiCbpFzw0GrVYNuZVkK64Wqvn6aCRWy+qvJ+acTUds4 nIFdd1FCTSHoptpLp2wZq3GiN9X/Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrfeejgdekgecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeetjedvteffje euvdelieeffeehuedthffgvdfhhffhkedvudevgedvjedufefgveenucfkphepjeehrddu jedvrdehrddvfedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 51FF13280059; Sat, 3 Oct 2020 00:28:26 -0400 (EDT) Subject: Re: UUID generation problem To: byrnejb@harte-lyne.ca, Tom Lane Cc: pgsql-general@lists.postgresql.org References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <1280442.1601678775@sss.pgh.pa.us> <1314954.1601687587@sss.pgh.pa.us> <18298e7842509cfc16a435d3d03da209.squirrel@webmail.harte-lyne.ca> From: Adrian Klaver Message-ID: <29a1d5b5-9a75-e316-c308-91ade6460c50@aklaver.com> Date: Fri, 2 Oct 2020 21:28:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: <18298e7842509cfc16a435d3d03da209.squirrel@webmail.harte-lyne.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.28 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/2/20 7:17 PM, James B. Byrne wrote: > > > 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. I'm not sure that is going to help. You are not, AFAICT, getting any permission denied messages. What does: \df+ uuid_generate_v4 show under Access privileges? What does: select current_schemas(true); show? > > Thanks for the pointers. > > Regards, > > P.S. If it turns out to be something else then I will return with more details. > -- Adrian Klaver adrian.klaver@aklaver.com