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 1kPSsC-00021f-Kh for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 15:58:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPSsA-0006l4-Fg for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 15:57:58 +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 1kPSsA-0006ku-7T for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 15:57:58 +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 1kPSs6-0005rA-Fm for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 15:57:57 +0000 Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id 45F415B553; Mon, 5 Oct 2020 11:57:52 -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 KE9J3qRKHwfY; Mon, 5 Oct 2020 11:57:46 -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 7FC0D5B548; Mon, 5 Oct 2020 11:57:45 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1601913465; bh=LXVNJz+CNY0Pj9UUAHeF6p64hc8BpBlR9bMBgWsDQw4=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=uLxTstRj/NXtf1ArqPJLDJ+RrPtjUiSRukHmObS3PeItsm+TwWDcwrDgh4PgqpQm4 GjnX7EzVd8iOfDgmrF+JXC5NGli/hsC/92uIdTDlNKBdupNLUAdpheMMgfL8P9sbba 6vBC/5XXGM89LlQRCHgzbc0eDg1iiCU9Hi4dOfhuJ4Ged9XjIKYs8IgnrbemZ0q5L+ ZTphmRzEdgDk5J/TifAj0CajOTkNUJbox+hPbY0/xCYFWJQr8dLZoVGvcAHYKhNng8 JMZ+tLloxst4ppzJ148uJNZaW6gOiV2z9Xr8ev/dX295Xvbydle+uXFcSUnWd5yZx7 PvSNwNIGCSZuw== Received: from 216.185.71.41 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Mon, 5 Oct 2020 11:57:45 -0400 Message-ID: <91900e671c6f124811856337449555e1.squirrel@webmail.harte-lyne.ca> In-Reply-To: References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <86544317-8fa2-9193-6af2-6b6e5eab1cba@aklaver.com> <13a362eba18fbef24f8170a3e0cd8a9f.squirrel@webmail.harte-lyne.ca> Date: Mon, 5 Oct 2020 11:57:45 -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 Mon, October 5, 2020 11:15, Adrian Klaver wrote: > > Per Tom's post this does not make sense. > > What if you connect doing?: > > psql --dbname=idempiere --username=idempiere_dbadmin > > And specify the port(-p) > > Cut out the sudo. > > > Then do: > > select current_schemas(true); > > select uuid_generate_v4(); > > select public.uuid_generate_v4(); > [root@accounting-2 ~ (master)]# psql --dbname=idempiere --username=idempiere_dbadmin Password for user idempiere_dbadmin: psql (11.8) Type "help" for help. idempiere=# select current_schemas(true); current_schemas ------------------------ {adempiere,pg_catalog} (1 row) 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 public.uuid_generate_v4(); uuid_generate_v4 -------------------------------------- 066e3298-3c91-4079-98ee-2b279bfc4025 (1 row) -- *** 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