pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: James B. Byrne <byrnejb@harte-lyne.ca>
To: "Paul Förster" <paul.foerster@gmail.com>
Cc: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: UUID generation problem
Date: Mon, 5 Oct 2020 12:51:36 -0400
Message-ID: <5ddb4d5509945a2daf8b26f403810101.squirrel@webmail.harte-lyne.ca> (raw)
In-Reply-To: <5D2FCB5D-43F9-4FC6-87F8-6AA073B3FB1B@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>



On Mon, October 5, 2020 12:19, Paul Förster wrote:
>
> 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=# select current_schemas(true);
>        current_schemas
> ------------------------------
>  {pg_catalog,postgres,public}
> (1 row)
>
> postgres=# select current_schemas(false);
>   current_schemas
> -------------------
>  {postgres,public}
> (1 row)
>
> postgres=# show search_path;
>    search_path
> -----------------
>  "$user", public
> (1 row)
>
> Cheers,
> Paul

[root@accounting-2 ~ (master)]#  psql --dbname=idempiere
--username=idempiere_dbadmin --host=localhost
Password for user idempiere_dbadmin:
psql (11.8)
Type "help" for help.

idempiere=# select current_schemas(true);
    current_schemas
------------------------
 {adempiere,pg_catalog}
(1 row)

idempiere=# select current_schemas(false);
    current_schemas
------------------------
 {adempiere,pg_catalog}
(1 row)


idempiere=# show search_path;
      search_path
-----------------------
 adempiere, pg_catalog
(1 row)


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB@Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3






view thread (53+ messages)  latest in thread

Message-ID: <5ddb4d5509945a2daf8b26f403810101.squirrel@webmail.harte-lyne.ca>
Permalink:  ../5ddb4d5509945a2daf8b26f403810101.squirrel@webmail.harte-lyne.ca/
Also on:    postgresql.org/message-id/5ddb4d5509945a2daf8b26f403810101.squirrel@webmail.harte-lyne.ca

 · 

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: byrnejb@harte-lyne.ca, paul.foerster@gmail.com, adrian.klaver@aklaver.com
  Subject: Re: UUID generation problem
  In-Reply-To: <5ddb4d5509945a2daf8b26f403810101.squirrel@webmail.harte-lyne.ca>
  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> <5ddb4d5509945a2daf8b26f403810101.squirrel@webmail.harte-lyne.ca>

* 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