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 1kPUCB-0004px-F7 for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 17:22:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPUCA-0006FZ-8n for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 17:22:42 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPUCA-0006FR-12 for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 17:22:42 +0000 Received: from mail-wr1-x442.google.com ([2a00:1450:4864:20::442]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kPUC8-0006X0-07 for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 17:22:41 +0000 Received: by mail-wr1-x442.google.com with SMTP id h7so6870845wre.4 for ; Mon, 05 Oct 2020 10:22:39 -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=N9jbjrLinpVD48hRwd5/w1h89LmHk3RFVg90J5dClOo=; b=M8eeaQWPwbF9Zkm6wpg1LaX+ZnOfCCfGCU6bUuW8YIYgwjk5BCOcscD6yjGNAuCYpJ 78t7Q88j45CDNhzfNgY5R2G14/DoNyUJZu+VE0wQBHtvbK5FtUl0axefiee57665X670 UiJPRO3mT3X/kyzuvzZo79mcSSkg7xeMDUyrHm8xa/hY9f3iMbADOVBphFDEcVjfqRA4 tABsrRZ043Bw/bFGTU1m9mRLs7AKVdMvv4tMEOjQO2cHaFV+WlSrRJaUXiuE7oshkxAp jcv1299EGP27ILrmUmPbfOS4zbn34U2mx4xKlPdKsv1eONDiCsk9CsRTdNBPpm9e5UMU Bggw== 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=N9jbjrLinpVD48hRwd5/w1h89LmHk3RFVg90J5dClOo=; b=UPiT+P7sCf4XSKM38f1sPQwifC5xWKm2JTjaOzUJi7VTnXCromHY4UCBPldWEEn298 +F1+oM8cjNigXpd8rJqc5Lfz+n+uuTEEh6y4P71dkA/Gg9F+cd1IxDEXMjKxFHrx6TUU AbZuEjXY75MslJmIKDS3OSIwuGyy264GyZt13sEiGT8hWNHo79Ksffp1qwSAp3UZMaqd PpuOwEKBnHSglPMdWjmPobDEO1F5GQdzuukp91vSGJ3pk2UpMIc8wpx/mWUrG1nhNMVE S7detWNOwrkpajZtwBHdqmdsduK1YHQ3EX7qEzzaRyA0LZ3dOGI2p7qEODobBZF5okoO Zwbg== X-Gm-Message-State: AOAM531S8uTgP/kWcLLzNngowVdfxaWc2+4v1h8JT1ikC/qbcUSN1Uhd rt1iz1ZgEgMaaJsX+wJNc1o= X-Google-Smtp-Source: ABdhPJzALIs77PiH6tVIfYs+L4ZkMzwi12mRdLlkrCVeIRgcGIGLWAXu250I56yV9AthXlSa0ZA6wg== X-Received: by 2002:adf:f6c8:: with SMTP id y8mr450500wrp.217.1601918558307; Mon, 05 Oct 2020 10:22:38 -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 q9sm760317wrd.57.2020.10.05.10.22.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 05 Oct 2020 10:22:37 -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?= In-Reply-To: <4a62a2ea-1fca-3049-3929-3191f52924e2@aklaver.com> Date: Mon, 5 Oct 2020 19:22:34 +0200 Cc: byrnejb@harte-lyne.ca, pgsql-general@lists.postgresql.org Content-Transfer-Encoding: quoted-printable Message-Id: <631C38D6-2ABA-4142-A05F-32001CD25B3E@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> <5D2FCB5D-43F9-4FC6-87F8-6AA073B3FB1B@gmail.com> <4a62a2ea-1fca-3049-3929-3191f52924e2@aklaver.com> To: Adrian Klaver 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 Adrian, > On 05. Oct, 2020, at 19:20, Adrian Klaver = wrote: > Actually it does: >=20 > =46rom the prompt I'm guessing you are logging in as 'postgres' user. = In that case "$user" will become postgres and you will get: >=20 > postgres=3D# select current_schemas(false); > current_schemas > ------------------- > {postgres,public} >=20 > The current_schemas(true) case will include implicit schemas that are = 'always'(as I'm sure that someone will come up with the exception) = there. yes, I am. And I know about the false case. It did it just out of = curiosity, not to cause confusion here, sorry. Cheers, Paul=