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 1kQGzj-0008Vr-8g for pgsql-general@arkaria.postgresql.org; Wed, 07 Oct 2020 21:29:07 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kQGzi-0001UX-6r for pgsql-general@arkaria.postgresql.org; Wed, 07 Oct 2020 21:29:06 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQGzg-0001UB-KD for pgsql-general@lists.postgresql.org; Wed, 07 Oct 2020 21:29:05 +0000 Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kQGzd-0005kR-JD for pgsql-general@lists.postgresql.org; Wed, 07 Oct 2020 21:29:03 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.west.internal (Postfix) with ESMTP id AE47DCA7; Wed, 7 Oct 2020 17:28:59 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Wed, 07 Oct 2020 17:28:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm1; bh=G v7T8aOVHfB7fZvuizIhX2zU39BQLrcB7Eg8F6ZDr+Q=; b=KLPWsiluHLBeDwX61 Kvf/amLK79XTcZTzBFpOu+vcW4oMDA4QrvOmOIMeUHmJxdYRaE8F39P6TPQQZEAr JsQ6/Q55QEUCO9NxbfFBlmEl58h9CRoClAt8xoOxUlzu8Rwvhf7PvymiqZOauvgH cquJZ/h6bvs5kGBJBr9r8l/p7DS31h/j+xhNtL1mYbIUk0DlIaVq0HIfU2zp4Zw2 NPoIPNGCvSfnzgccK9nfz8mMUfPk6LhG2qr+NS0O2qCRkQ+wuv4A9890LxftUeTo bNhz/PHko+QDlO/ffrTe172wmh+LZiFGHSE1tXNey3jr1LxXnAHNJUdAJNhpJIkF XZwyw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=Gv7T8aOVHfB7fZvuizIhX2zU39BQLrcB7Eg8F6ZDr +Q=; b=l5k3UzR6CjyvYeQM27sRHg3MP7fEHIi1bQHr3cbz3hs4Z1eOQCuUhHLXF 4JZ7zuwDWsQYxQ8/VlLcELgvXYEJFjmslLJKn2wDHcOqysK6A6QZqlUBF/1KlyZg FZV4yWnIjemaXS4BIIiIOwawt3TFNnmetbRodr/EoSWfK3Fy3PSvWK7qwJE+U+YU i1Z48chDAUhnV2Xfkt2NcO8pkpePlz9SQTGalw0HpUgHH4AARC0VyPrS1NaToQM0 2H+8e56zpw4pVSjtWGgwP9qoQKMRYlL5Deye8dC5XuHwdubzTKu4V1DH0Sw/y6Or TVruDIzgd2n4l1hQaHrNUyXD+wRHg== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrgeeigdduieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeevveefveefueegffekkefhgeeiueffgfetueejvdfg hfeujeejhfekjeelgedtgeenucfkphepjeehrddujedvrdehrddvfedunecuvehluhhsth gvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggurhhirghnrdhklhgr vhgvrhesrghklhgrvhgvrhdrtghomh 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 8BBC83280059; Wed, 7 Oct 2020 17:28:58 -0400 (EDT) Subject: Re: [SOLVED] Re: UUID generation problem To: Rob Sargent , pgsql-general@lists.postgresql.org References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <13a362eba18fbef24f8170a3e0cd8a9f.squirrel@webmail.harte-lyne.ca> <1721392.1601909600@sss.pgh.pa.us> <383e5b19-4fd5-bbf3-dd42-2e3d3c68206f@aklaver.com> <7b62b10e902e0831769f7ad5ffb37b25.squirrel@webmail.harte-lyne.ca> <70f1b155-42bf-9c66-27d2-a391842f335f@aklaver.com> <14597a6a35fe09a349fb56098ed4c5db.squirrel@webmail.harte-lyne.ca> <9653ebb5-98cc-b318-335d-babd7a62ce70@aklaver.com> <824f001d62c338ee20dbfc7483fd2860.squirrel@webmail.harte-lyne.ca> <60ab3991835001bd47f890430af3d29c.squirrel@webmail.harte-lyne.ca> <16783c94f9e648dcad6f4689b9862bb9.squirrel@webmail.harte-lyne.ca> <955ee5f8e92a1c9781778a7aa3435d67.squirrel@webmail.harte-lyne.ca> From: Adrian Klaver Message-ID: <53ece822-e08a-fed3-27e9-4236ea2fa38c@aklaver.com> Date: Wed, 7 Oct 2020 14:28:57 -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: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/7/20 2:24 PM, Rob Sargent wrote: > > > On 10/6/20 9:35 AM, James B. Byrne wrote: >> Thank you all for the help.  This is what ultimate resolved the issue >> for me: >> >> >> [root@accounting-2 ~ (master)]#  psql -E --dbname=idempiere >> --username=postgres >> --host=localhost >> Password for user postgres: >> psql (11.8) >> Type "help" for help. >> >> idempiere(5432)=#  select current_schemas(true); >>     current_schemas >> --------------------- >>   {pg_catalog,public} >> (1 row) >> >> idempiere(5432)=# ALTER ROLE idempiere_dbadmin SET search_path TO >> adempiere,public; >> ALTER ROLE >> >> idempiere(5432)=# \q >> >> [root@accounting-2 ~ (master)]#  psql -E --dbname=idempiere >> --username=idempiere_dbadmin --host=localhost >> Password for user idempiere_dbadmin: >> psql (11.8) >> Type "help" for help. >> >> idempiere(5432)=#  select current_schemas(true); >>          current_schemas >> ------------------------------- >>   {pg_catalog,adempiere,public} >> >> > I wonder what affect installing uuid-ossp in template1 /before/ starting > with the idempiere installation might have had.  Such that 'create > database idempiere;' would have put all the related functions in place > immediately? Well the issue was not the extension install. It was there. The problem was the hide and seek with the search_path. The idempiere_dbadmin role had a database setting that overrode the default search_path and prevented non-schema qualified calls to the functions to fail for that role. -- Adrian Klaver adrian.klaver@aklaver.com