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 1kPUOB-0005FC-6V for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 17:35: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 1kPUOA-0005wl-4u for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 17:35: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 1kPUO9-0005w5-Qj for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 17:35:05 +0000 Received: from mail-wm1-x342.google.com ([2a00:1450:4864:20::342]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kPUO5-00062q-Nb for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 17:35:04 +0000 Received: by mail-wm1-x342.google.com with SMTP id 13so348396wmf.0 for ; Mon, 05 Oct 2020 10:35:01 -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=PwYYcp6zn464lE3IA4SRsYHiNNRZTg/M/x28v2iNfTo=; b=kZ2eUsdiAb/2+EIpkJDxI46gQU/+gHxYLkNeNV+9REJB9DavbbdrWKOMha39GEsa18 +J5bQ1Z1oiUu+h3KdNjGZq764iuKq0sd6l6SwRvtShwXzik00OBduIf9W5zKzON4xmDn BMGeYIydyULEOj8pQeTd37Ze9o4kzE2fW/6Dg4Ir20ybCgqFlZzZUQeewB+IVzj85vZJ ZSPcs+9l9dc/c+KAIORLSVpj+ZhALN0dBPjMlHKIymWXLEnPJ6/VXnQjGjtfkOqpSBni XhlOuzSvc1KQDiCwxFcAL1MpZGJi+LhJ5eiZSFctEuekM0/+DbtSIHaOqrhSLyYoi+KD OuTQ== 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=PwYYcp6zn464lE3IA4SRsYHiNNRZTg/M/x28v2iNfTo=; b=hG23UZTAFrCGUY3zq8jeeqf+/WRuginunBGEAAoaeK9Tnnx16TG4g68HjAimcSzIYk MBYa/mQrClpBZiWi4iFrX1x89LBCMzFKAYS6BanGpx9OeX8KTvxrN9f90G3dCACIw/RV +WD3mBL+W8p0ujn3e0+373387NctHmS24Nz2ZahoazHe/7A7ZHS/RBSXzeFkcRLPaYwN Ek3RYuj0I54M9krda6/HQsQe5G9FqH6jX0w8DVgMJftKmT/GyLwvIp41HmOV4S2cUtCH +9OMobtIJdF1EHuV2RE6EZA54pWsO9hRzxxarPU5PaXRLWcduTJQn2rPbOUYfCUcZgKC OhKw== X-Gm-Message-State: AOAM533f/4fDu3OoB4jsmuKP//zowvOHXR7Fpyc6zYKAWOgrSzrzJU/J GP/eNwsBIAc6E7x+8JpXc+M= X-Google-Smtp-Source: ABdhPJzaQG9CD1Z+r27cAVLdYXeude/u8N1083qNT1d6FoKTKEcRaaCjgx4apWELLsC6muZHy0Y5cw== X-Received: by 2002:a1c:6807:: with SMTP id d7mr485415wmc.38.1601919300183; Mon, 05 Oct 2020 10:35:00 -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 g83sm329758wmf.15.2020.10.05.10.34.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Oct 2020 10:34:59 -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: Date: Mon, 5 Oct 2020 19:34:56 +0200 Cc: 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, > On 05. Oct, 2020, at 19:16, James B. Byrne = wrote: >=20 > As this is an application package it is not within my purview to alter = the > code. To do so would rik a return of the problem with every update. >=20 > Adding public to the search path is fine by me. However, I still need = to find > out how this situation arose. Is it something I did or something that = the > installer does by default? The project notes 'suggest' 'adempiere' as = the > username for access. However they do not use wording to imply that = one must > use it. However, if there is something in the installer that uses = 'adempiere' > regardless of the properties settings then I need to discover this. well, actually, you can just set the search_path for the role the = application logs in with: alter role set search_path =3D ', pg_catalog, = public'; The next time logs in, it should see the freshly set = search_path. When we create an app schema and role set in our databases, we always do = this to make sure that the application role always finds its schema. We = never had any problems with this. = https://www.postgresql.org/docs/current/ddl-schemas.html#DDL-SCHEMAS-PATH https://www.postgresql.org/docs/current/sql-alterrole.html Hope this helps, Paul=