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 1kOV9G-0005UD-QU for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 00:11:38 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kOV9F-0001Nk-J4 for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 00:11:37 +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 1kOV9F-0001Nc-BN for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 00:11:37 +0000 Received: from mx32.harte-lyne.ca ([216.185.71.32]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOV9C-0001E8-SK for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 00:11:36 +0000 Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id D1BBE5A6C5; Fri, 2 Oct 2020 20:11:32 -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 O2RLRt9dRuAu; Fri, 2 Oct 2020 20:11:26 -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 364E15A6BA; Fri, 2 Oct 2020 20:11:26 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1601683886; bh=ssjmqUB4q8XJBImJt3oMyJCfp/te8H9bfchZF0FUJb8=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=a4bEGTwvngkLmJJxP1ej1sas/zCHp5ecVpmAlF/zl4CiPBQDC/7V+PASMJ77gv5AW t+FwEEOohl5JTx3o1dMPgADYykPB8xkp2/GgLqF1CnXWH77JGC5Wu9Chi8PcMD/Jby InW2wQCgsFWxETP4+hwiJWwNfE/3iEi4zrXZvMOZlIbsiKI2ox1gFPwYHeBsCRbZvq ltJ2spfXcyEoakKO5vYFD47r/Dmz7kAcOJWV03AHlgo3FQgrRjXbNjKbdiX6jZWVLY 60L80XrrsPenznKw8jALWIrbevMdb79LwD52E5UX2SyRp7Be1SKrBIPFwokldIbYzo BuillgVFUHaDg== Received: from 216.185.71.104 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Fri, 2 Oct 2020 20:11:26 -0400 Message-ID: In-Reply-To: <1280442.1601678775@sss.pgh.pa.us> References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <1280442.1601678775@sss.pgh.pa.us> Date: Fri, 2 Oct 2020 20:11:26 -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 18:46, Tom Lane wrote: > "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 this >> error message: > >> ** org.postgresql.util.PSQLException: ERROR: function uuid_generate_v4() does >> not exist Hint: No function matches the given name and argument types. You >> 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 >> database. >> 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 > idempiere=# \dn List of schemas Name | Owner -----------+----------- adempiere | adempiere public | postgres -- *** 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