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 1kPQO4-0004ri-Lj for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 13:18:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPQO3-0000Tk-Ji for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 13:18:43 +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 1kPQO2-0000Td-VR for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 13:18:43 +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 1kPQNx-0004Wj-S5 for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 13:18:41 +0000 Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id CFF985AE0B; Mon, 5 Oct 2020 09:18: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 yM38634kzQH1; Mon, 5 Oct 2020 09:18:31 -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 78B2D5AE00; Mon, 5 Oct 2020 09:18:30 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1601903910; bh=bTsoq3GkGw33DbH3Kb3DmZKkV+GWUWlcZwzpo9sa0X0=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=ykNJiAz+6BPIk556pijC8aiOm3/D/dl9qpyxnv0RQnZz83QhcyMKFiUt2xESb/Nxp qbu3W3giw9DTQlRN96YW7nGfuSzhKwBKsQz9P37gjfuVRpAAhzeAfU5PedDpasnryN DukhUzzDgjz/2NtW8fxO10gggQfAfxjprP89rQ+ZdRQhsqBjmNRnm7qZubZxJ8mVyt 3h/tJZHPvGEuoycR2fH1PK3DMKwWuxPxORgd1R3HUDFuuC9Vk0wMnYTo69A+BiKgUU Ynsenn7gO8qhtOjq0j77IoQWiI23FeGtt5l2O2KuED88lnIIT4TtHepEKfgFSR57Vs bCK3gXBeV6pMw== Received: from 216.185.71.41 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Mon, 5 Oct 2020 09:18:30 -0400 Message-ID: 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: Mon, 5 Oct 2020 09:18:30 -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 Sat, October 3, 2020 00:28, Adrian Klaver wrote: > > I'm not sure that is going to help. You are not, AFAICT, getting any > permission denied messages. > > What does: > > \df+ uuid_generate_v4 > > show under Access privileges? > > What does: > > select current_schemas(true); > > show? > > idempiere=# \df+ uuid_generate_v4 List of functions Schema | Name | Result data type | Argument data types | Type | Volatility | Parallel | Owner | Security | Access privileges | Language | Source code | Description --------+------------------+------------------+---------------------+------+------------+----------+----------+----------+-------------------+----------+------------------+------------- public | uuid_generate_v4 | uuid | | func | volatile | safe | postgres | invoker | | c | uuid_generate_v4 | (1 row) idempiere=# select current_schemas(true); current_schemas --------------------- {pg_catalog,public} (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