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 1kPTDT-0002jT-Uz for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 16:19:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPTDS-0000I2-RX for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 16:19:58 +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 1kPTDS-0000HX-K9 for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 16:19:58 +0000 Received: from mail-wm1-x344.google.com ([2a00:1450:4864:20::344]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kPTDQ-0005Lj-K8 for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 16:19:57 +0000 Received: by mail-wm1-x344.google.com with SMTP id z22so345334wmi.0 for ; Mon, 05 Oct 2020 09:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4fW1NItG5FClNox4pOBDbBUA7e9h4CP3mJw2W0W+DlE=; b=YlvUY1qvPg8ZH6UztbzVY/LNCZUQk/mMqeav6cvy0/3K1X46/rSiNUtAOmi2JO1bfB 2bXpgUhKsqNtBunw6LtS/D4lJyNeIFZny5eFLi9+cu7vnLv8YZMkwT426TNn/G9UkslX OYLfLjXJUDwz66ZJBsdFa/jFnoj23dpfLCdOqAIH1lze25ROuuUJgPjK0vxxH5mK7Ik6 IhL0ln8uHVRDX6n7lSrzv1zJ73/c30TVVwSwemWd+8M6F38UsTq2E3VLvostvdAbPkRG Yp/hYVLPG1kss/wYsBPw6vn9rU/TRBDsHTq6HVjQm4Q8//quugsY8/kDEM8GC5EcRIBL PY3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=4fW1NItG5FClNox4pOBDbBUA7e9h4CP3mJw2W0W+DlE=; b=HHFcwlYQhbaShyrw8dlYGvXRHLNtKzevHQMg9vqjn2wY1bIQKTEwNxImVZcDdpx0BT nuk8vnlo2dKFUcZ9BMTdLFh7ztKZYqoZ2Ci942SW5WvCnOucJ0PXa/Isifa6I7bOG+Jq 2Sl/iuxN5JHzKr0lIogTEaY6OFda9fy15s5aZFdng8cR58CPSmUE7uQ051otxwehq7ZE jSc3Ae2P8oykMDZMYVTH/B0IYGwXukMKbp2FmOZZJSixfByKSDTLUrOcmiTdi+SRLQir RJizvhze8mbRPN+eEtUgSXGuycZ+p/8+XEZeS2/E5043ljUzr8sMAkKfkgWaop+xcSe1 AhNw== X-Gm-Message-State: AOAM532YSd5RreNTR5aASnhSHp7J3y36k9SLqCqCx1/Qha6/FPYqmDwx Sn2c8Kn4xE8YVIZqgJEgjmrR39RGQIY= X-Google-Smtp-Source: ABdhPJwAtUnLmwSKTF9fX2BsTKL4rOY9vY59Ojhz5faCVz80CPSIQENvqy7enLHunVBBPa9zzVMCtw== X-Received: by 2002:a1c:62c4:: with SMTP id w187mr124921wmb.149.1601914795178; Mon, 05 Oct 2020 09:19:55 -0700 (PDT) Received: from [192.168.1.8] (241-57-239-77.dyn.cable.fcom.ch. [77.239.57.241]) by smtp.gmail.com with ESMTPSA id z11sm494812wrh.70.2020.10.05.09.19.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Oct 2020 09:19:54 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.4\)) Subject: Re: UUID generation problem From: =?utf-8?Q?Paul_F=C3=B6rster?= X-Priority: 3 (Normal) In-Reply-To: <91900e671c6f124811856337449555e1.squirrel@webmail.harte-lyne.ca> Date: Mon, 5 Oct 2020 18:19:51 +0200 Cc: Adrian Klaver , pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <5D2FCB5D-43F9-4FC6-87F8-6AA073B3FB1B@gmail.com> References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <86544317-8fa2-9193-6af2-6b6e5eab1cba@aklaver.com> <13a362eba18fbef24f8170a3e0cd8a9f.squirrel@webmail.harte-lyne.ca> <91900e671c6f124811856337449555e1.squirrel@webmail.harte-lyne.ca> To: byrnejb@harte-lyne.ca X-Mailer: Apple Mail (2.3608.120.23.2.4) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hi James, > On 05. Oct, 2020, at 17:57, James B. Byrne = wrote: >=20 > [root@accounting-2 ~ (master)]# psql --dbname=3Didempiere > --username=3Didempiere_dbadmin > Password for user idempiere_dbadmin: > psql (11.8) > Type "help" for help. >=20 > idempiere=3D# select current_schemas(true); > current_schemas > ------------------------ > {adempiere,pg_catalog} > (1 row) >=20 > idempiere=3D# 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=3D# select public.uuid_generate_v4(); > uuid_generate_v4 > -------------------------------------- > 066e3298-3c91-4079-98ee-2b279bfc4025 > (1 row) just out of curiosity, what does the search_path contain? It needs not = necessarily reflect the contents of current_schemas, see the following = example: postgres=3D# select current_schemas(true); current_schemas =20 ------------------------------ {pg_catalog,postgres,public} (1 row) postgres=3D# select current_schemas(false); current_schemas =20 ------------------- {postgres,public} (1 row) postgres=3D# show search_path; search_path =20 ----------------- "$user", public (1 row) Cheers, Paul=