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 1kOTp3-0002dl-GH for pgsql-general@arkaria.postgresql.org; Fri, 02 Oct 2020 22:46:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kOTp1-0004bL-2Y for pgsql-general@arkaria.postgresql.org; Fri, 02 Oct 2020 22:46:39 +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 1kOTp0-0004ZH-Qd for pgsql-general@lists.postgresql.org; Fri, 02 Oct 2020 22:46:38 +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 1kOTou-0000cB-4y for pgsql-general@lists.postgresql.org; Fri, 02 Oct 2020 22:46:38 +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 092MkFoN1280443; Fri, 2 Oct 2020 18:46:15 -0400 From: Tom Lane To: byrnejb@harte-lyne.ca cc: pgsql-general@lists.postgresql.org Subject: Re: UUID generation problem In-reply-to: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> Comments: In-reply-to "James B. Byrne" message dated "Fri, 02 Oct 2020 18:08:57 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1280441.1601678775.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Fri, 02 Oct 2020 18:46:15 -0400 Message-ID: <1280442.1601678775@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk "James B. Byrne" writes: > I have a FreeBSD-12.1p10 system running postgreSQL-11.8. This is a test > platform for Idempiere. When creating a new client in Idempiere I get t= his > error message: > ** org.postgresql.util.PSQLException: ERROR: function uuid_generate_v4()= does > not exist Hint: No function matches the given name and argument types. Y= ou > might need to add explicit type casts. Where: PL/pgSQL function generate= _uuid() > line 3 at RETURN > This usually means that the uuid-ossp extension is not active in the dat= abase. = > However, I previously installed this and psql shows that it is present: 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. regards, tom lane