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 1kOV6s-0005Nz-RH for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 00:09:10 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kOV6p-0006In-Q2 for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 00:09:07 +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 1kOV6p-0006Ig-Hz for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 00:09:07 +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 1kOV6h-0001DC-VQ for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 00:09:06 +0000 Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id 023E85A6B9; Fri, 2 Oct 2020 20:08:57 -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 45lEfYXokoIU; Fri, 2 Oct 2020 20:08:40 -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 1AB085A6AA; Fri, 2 Oct 2020 20:08:40 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1601683720; bh=lYwu9/njtWWmxDKPnVPQww+b6gGaQ30oIaw7vLEaf2c=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=Im9a7ppK32/KWkTBI/2A+Snk4OLQh736l9QBreVcKV0OaU9xxGWIV7SOjoAKrEISd owPW40tJlbGWhYAvhnSiVvc3Vbb7SxjcucfqFJub4PF/sDbfNm0Vgckhk9Po/cP7Ds gUNwkpFHov4ux0rVxgrlpX6t2BQ6ZetZ6ES5v+zXB56GHQ7Ts2agEdo0YxJvc1wLyg yceBAUHEYY4YrH1IRObDWG8tWmIhrrBWShS0bHXy1cAPiyVlBuK13kr2N4LSNtAm0I lFPuEgKMQOglMr1z4lsxDMY+zoXg5vwtmpHo2ZYn9f6PcrhrQtoPJ+E15Ebcc7p0QR rW4JxTtTJjQiA== Received: from 216.185.71.104 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Fri, 2 Oct 2020 20:08:40 -0400 Message-ID: <21a417875813640de5c5af38cae410bf.squirrel@webmail.harte-lyne.ca> In-Reply-To: <86544317-8fa2-9193-6af2-6b6e5eab1cba@aklaver.com> References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <86544317-8fa2-9193-6af2-6b6e5eab1cba@aklaver.com> Date: Fri, 2 Oct 2020 20:08:40 -0400 Subject: Re: UUID generation problem From: "James B. Byrne" To: "Adrian Klaver" 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:14, Adrian Klaver wrote: > > Per comment over at SO, have you run uuid_generate_v4()/generate_uuid(). > in psql to see if it is there and works? > [root@accounting-2 ~ (master)]# sudo -u postgres psql --dbname=idempiere --username=idempiere_dbadmin Password for user idempiere_dbadmin: psql (11.8) Type "help" for help. idempiere=# select uuid_generate_v4(); ERROR: function uuid_generate_v4() does not exist LINE 1: select uuid_generate_v4(); ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. idempiere=# select uuid_generate(); ERROR: function uuid_generate() does not exist LINE 1: select uuid_generate(); ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. idempiere=# -- *** 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