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 1kPTx9-0004Lt-2I for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 17:07:11 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPTx7-0004Li-Vr for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 17:07:09 +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 1kPTx7-0004Lb-OI for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 17:07:09 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kPTx5-0005om-K2 for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 17:07:08 +0000 Received: by mail-wr1-x442.google.com with SMTP id w5so10445382wrp.8 for ; Mon, 05 Oct 2020 10:07:07 -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=1TY9axEquHuBQXQ15mtFXBwjEqZGyCWgvgRpQFDwiGs=; b=Xq3vFGFL6Cmj8gAqj7Q/PSfPtlWaI4HmKOBTUoWTOTrZeDd7LQaI3cSC/m/uIre/og AlbGVQZv+NPBNf7jLANWmFRrJaRiJL8uRTdGzI21C1Ha6/ECkt2zzQRgjqBr9CaThS5u woVbtGmMpLai+SjzAMv7BseRIvPxy7Jcl/0zVuFxZBK6ykA0uGHGt27m2eGIXdWCcKrQ HpxLmbaNal0Komz2PAWTr6lz49UEjkEQAWaeEBy/PmlsK4tngsaBQjBzc9m/6UyBGr0/ 3ssUzOvpB2LRvus+JiGUosjqTB2z2lNJeXB4Dt8o2RU/4ki+dn7WovOaKPRKcwxG8Lh6 gbXw== 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=1TY9axEquHuBQXQ15mtFXBwjEqZGyCWgvgRpQFDwiGs=; b=IMPHi56SCUZftn8XbXwedY2hJTjtNM6/Yjy5gV4T3Z2sL4ZhKIylWeYi8lvcwBO1bI fBEGLfCnn5qFAEL/XkvlIWCOYcjBCnIQ0QQ0m5qQwaGjZcxHTRhggXYiLCWhLa7mOHmF CwV7Zdmdd4KZ2iFUvqsEF3o/VrZ2Lx9Scyxo2YEQc2Kh1vZpPhn0zE3kiPT/reFyMXGD mLe+jyKuOI/Isik97nzHrfk9hLFvC4Sb15maNy6Hcqj/jEOIPymAp4iyp1AsmOowQISx Mg1d1CDSoupGJaTob/gbg7qmKZYkXgrUln0z9X8FUTTbM4hHItcP05iPT6sPkMvYPkV1 XE3g== X-Gm-Message-State: AOAM53146LN2futZUS/Xf2LbnW906X6yhSAOS+A9MNKXbg0r+FOO4HpW F0wtokvtKSHbQqQmT0Aig6E= X-Google-Smtp-Source: ABdhPJzaaW5PtNva3aZlY+zECZGkDkgqx3BbST6HgUzdHRdD2mmDlTsenfGkDZLfQOABXYPmaJ5eKw== X-Received: by 2002:a5d:6886:: with SMTP id h6mr393115wru.374.1601917625510; Mon, 05 Oct 2020 10:07:05 -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 b11sm719665wrt.38.2020.10.05.10.07.04 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Oct 2020 10:07:05 -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: <5ddb4d5509945a2daf8b26f403810101.squirrel@webmail.harte-lyne.ca> Date: Mon, 5 Oct 2020 19:07:01 +0200 Cc: Adrian Klaver , pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: 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> <5D2FCB5D-43F9-4FC6-87F8-6AA073B3FB1B@gmail.com> <5ddb4d5509945a2daf8b26f403810101.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, > 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 > -------------------------------------- > 5ba19b69-ec8e-4d8e-8968-7c84eccc4351 > (1 row) > On 05. Oct, 2020, at 18:51, James B. Byrne = wrote: > idempiere=3D# show search_path; > search_path > ----------------------- > adempiere, pg_catalog > (1 row) I guess that's why you don't see the uuid_generate_v4() function. I = suggest you either fully qualify it, i.e. public.uuid_generate_v4() or = add public to your search path. Cheers, Paul=