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 1kPRKJ-0006z5-ER for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 14:18:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPRKH-0006bN-6I for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 14:18:53 +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 1kPRKF-0006bF-Dh for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 14:18:52 +0000 Received: from [66.111.4.27] (helo=out3-smtp.messagingengine.com) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPRK9-0004x0-9W for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 14:18:50 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id B5B885C0164; Mon, 5 Oct 2020 10:18:33 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Mon, 05 Oct 2020 10:18:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:cc:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=N ELUwXCSi90t/71Sbhyo4lzFKipUuiwVi76Qf0/5+OQ=; b=A5jY5KX6f92hBy3Cy XZjahIP2QvN9nIPZUisosTcZ4bpMFWcuv66hA5G3+vrYTpwmM4qS5O2wA76mbpDo 6UV5H/xNiPxE9n7MzV0SWE7ZtPsAHEK8MWPEdmQyj2jKHrFa6+q1BmeTzQvDQwm3 MzwqzbF0J7VSpbnyNU0C2g44swmg8n7qTSPn7eDyVJVkCaFl5VNyig9gzmYa7qvW 3swwZIuKiIel4EH0v4r3Dp5wkyW4BWqBKv3aZTngP4gNZW9GYek5fw8u5FzptSX2 xAV8ug+ZnplFc92bmzcGYo81YVAef2BASCkPdKedBOHSfHXicrGeHajJxKkguK2j lRSyg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=NELUwXCSi90t/71Sbhyo4lzFKipUuiwVi76Qf0/5+ OQ=; b=BiIjkMnmdCTnuoMKDRdurAcu6zxUAysW8VHADqj2hFlAHok6qcXJNbunu vCa6PAzozMRATw0hEMc+6WKUhQBf+CRxpYi7t1jPsM2UheG4l9qStszc+zAhuWDf 2V1KXOPKQn8Dj0e9/wwu+qUxTg2mV+y2sK+ShuSjM/Up6Ao2XPrxKLTqmktZeEW9 svL4la0nbsS8IHlw9jqJmkJQ2SxZlYeAF2eux1OaEmj25L4AZBjz5+KhVh5ZAnJb 77p1W2Y0k2AbPQqyngoPLdTlBaiQXzw24mXmE4EvOWsCV+8fYhNKeLf9gK4J1VZv 2REbTHgqRN03Z7OrqFTAeJ49Uljnw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrgedvgdejiecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthejre dttdefjeenucfhrhhomheptegurhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhl rghvvghrsegrkhhlrghvvghrrdgtohhmqeenucggtffrrghtthgvrhhnpeetjedvteffje euvdelieeffeehuedthffgvdfhhffhkedvudevgedvjedufefgveenucfkphepjeehrddu jedvrdehrddvfedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Received: from [192.168.1.3] (75-172-5-231.tukw.qwest.net [75.172.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 08879328005E; Mon, 5 Oct 2020 10:18:32 -0400 (EDT) Subject: Re: UUID generation problem To: byrnejb@harte-lyne.ca Cc: pgsql-general@lists.postgresql.org References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <86544317-8fa2-9193-6af2-6b6e5eab1cba@aklaver.com> From: Adrian Klaver Message-ID: Date: Mon, 5 Oct 2020 07:18:32 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.12.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 66.111.4.27 (deferred) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/5/20 6:18 AM, James B. Byrne wrote: > > > 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 > > So as same user: select uuid_generate_v4(); select public.uuid_generate_v4(); \dn+ public -- Adrian Klaver adrian.klaver@aklaver.com