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 1kOW6v-0007ID-DS for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 01:13:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kOW6t-0002AX-A0 for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 01:13:15 +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 1kOW6t-0002AO-23 for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 01:13:15 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOW6q-0001nd-AE for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 01:13:14 +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 0931D7oE1314955; Fri, 2 Oct 2020 21:13:07 -0400 From: Tom Lane To: byrnejb@harte-lyne.ca cc: pgsql-general@lists.postgresql.org Subject: Re: UUID generation problem In-reply-to: References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <1280442.1601678775@sss.pgh.pa.us> Comments: In-reply-to "James B. Byrne" message dated "Fri, 02 Oct 2020 20:11:26 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1314953.1601687587.1@sss.pgh.pa.us> Date: Fri, 02 Oct 2020 21:13:07 -0400 Message-ID: <1314954.1601687587@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "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