pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Paul Förster <paul.foerster@gmail.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: byrnejb@harte-lyne.ca
Cc: pgsql-general@lists.postgresql.org
Subject: Re: UUID generation problem
Date: Mon, 5 Oct 2020 19:22:34 +0200
Message-ID: <631C38D6-2ABA-4142-A05F-32001CD25B3E@gmail.com> (raw)
In-Reply-To: <4a62a2ea-1fca-3049-3929-3191f52924e2@aklaver.com>
References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca>
	<86544317-8fa2-9193-6af2-6b6e5eab1cba@aklaver.com>
	<d4d8c3b2def5f1cb33bffe21a7085811.squirrel@webmail.harte-lyne.ca>
	<dfc4a83f-c227-684c-c841-e2fa7069bd4b@aklaver.com>
	<13a362eba18fbef24f8170a3e0cd8a9f.squirrel@webmail.harte-lyne.ca>
	<cf5938f7-5dc7-b9c4-16b5-b790737a31a2@aklaver.com>
	<91900e671c6f124811856337449555e1.squirrel@webmail.harte-lyne.ca>
	<5D2FCB5D-43F9-4FC6-87F8-6AA073B3FB1B@gmail.com>
	<4a62a2ea-1fca-3049-3929-3191f52924e2@aklaver.com>

Hi Adrian,

> On 05. Oct, 2020, at 19:20, Adrian Klaver <adrian.klaver@aklaver.com> wrote:
> Actually it does:
> 
> From the prompt I'm guessing you are logging in as 'postgres' user. In that case "$user" will become postgres and you will get:
> 
> postgres=# select current_schemas(false);
>  current_schemas
> -------------------
> {postgres,public}
> 
> 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




view thread (53+ messages)  latest in thread

Message-ID: <631C38D6-2ABA-4142-A05F-32001CD25B3E@gmail.com>
Permalink:  ../631C38D6-2ABA-4142-A05F-32001CD25B3E@gmail.com/
Also on:    postgresql.org/message-id/631C38D6-2ABA-4142-A05F-32001CD25B3E@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: paul.foerster@gmail.com, adrian.klaver@aklaver.com, byrnejb@harte-lyne.ca
  Subject: Re: UUID generation problem
  In-Reply-To: <631C38D6-2ABA-4142-A05F-32001CD25B3E@gmail.com>
  References: <271dfd309957472734a7aab8999659b1.squirrel@webmail.harte-lyne.ca> <86544317-8fa2-9193-6af2-6b6e5eab1cba@aklaver.com> <d4d8c3b2def5f1cb33bffe21a7085811.squirrel@webmail.harte-lyne.ca> <dfc4a83f-c227-684c-c841-e2fa7069bd4b@aklaver.com> <13a362eba18fbef24f8170a3e0cd8a9f.squirrel@webmail.harte-lyne.ca> <cf5938f7-5dc7-b9c4-16b5-b790737a31a2@aklaver.com> <91900e671c6f124811856337449555e1.squirrel@webmail.harte-lyne.ca> <5D2FCB5D-43F9-4FC6-87F8-6AA073B3FB1B@gmail.com> <4a62a2ea-1fca-3049-3929-3191f52924e2@aklaver.com> <631C38D6-2ABA-4142-A05F-32001CD25B3E@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox