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 1kOVEm-0005hG-52 for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 00:17:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kOVEl-0006pX-3q for pgsql-general@arkaria.postgresql.org; Sat, 03 Oct 2020 00:17:19 +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 1kOVEj-0006pQ-8f for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 00:17:18 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kOVEg-0005Vx-CZ for pgsql-general@lists.postgresql.org; Sat, 03 Oct 2020 00:17:16 +0000 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3F1B75C00CE; Fri, 2 Oct 2020 20:17:13 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Fri, 02 Oct 2020 20:17:13 -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=0 xT09zybDruusF9/9XQ7PTy1PhJ0ps2VBCycLuTZCN8=; b=RcEdbdTTXKjSMXI0o LaBMjdSobjsT2fOZhy7DWC3LoHrS5ek29mkKqAliuSZqUd+WnVLhfbABfsH5+Gsi F62jU3NLDaY6ym60yIxJg/oRTXbYGr17ygA09MGmhUrjjjKf8cRT2YMBxpCkZyNW 5Sfhbddzj/MHZDuo7060YtGlyKAF7MffYf6VTVOpuO0ZCGDavEv3ag1jM9Hryn7S spC2lRseZBghSaYYbTMN6akJRJDY5406NrNbXb2jPsjIENmMiXwNwx4ycR8+EmO7 e0TZBNaL6G7AqSdY1Ic36qje+vYdjegpFCYktMIaXR3VZPEMlhz4LUp+83y7+Vhc CR4UA== 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=fm3; bh=0xT09zybDruusF9/9XQ7PTy1PhJ0ps2VBCycLuTZC N8=; b=docBK7eNua1FX7eXSFQq2Co5tTFDPQI2Scua4HTQBxrG72fiL9C5+4hL6 MRuHcFXDuveN6aEuDkS8mWTy9sd0hbM+qXlWgtDgHiOj1CN8pjUm18KKiNBPknLF 2YuFwRUq5KuRwtd0p5pfZF2xAaVFePiQVM8svFB9bdujDNz9cRsJtrpYKkjCtTtw H5orWhwPEgmPZS0yi3GFp3Rq4D+o0egzpjXxmIQQFzAa8D4BN4q8FPFAATI6uURh RpldusKdF1P5gTw0Htmpxff7VSllCyh8kWpYbVfvqlgt7jCgD3Ze7fJeTI9yO2IU fxcJt+HnLYEZV6egFAskQigIPTQZA== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrfeejgdeffecutefuodetggdotefrodftvf 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 533AD3280059; Fri, 2 Oct 2020 20:17:12 -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> <21a417875813640de5c5af38cae410bf.squirrel@webmail.harte-lyne.ca> From: Adrian Klaver Message-ID: <4408c8b2-c253-8087-5450-ab153b58a2ae@aklaver.com> Date: Fri, 2 Oct 2020 17:17:11 -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: <21a417875813640de5c5af38cae410bf.squirrel@webmail.harte-lyne.ca> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 10/2/20 5:08 PM, James B. Byrne wrote: > > > 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=# > > So per Tom's post: What does: show search_path; return? Also what does: select public.uuid_generate_v4(); do? -- Adrian Klaver adrian.klaver@aklaver.com