From: | "James B(dot) Byrne" <byrnejb(at)harte-lyne(dot)ca> |
---|---|
To: | "Paul Förster" <paul(dot)foerster(at)gmail(dot)com> |
Cc: | "Adrian Klaver" <adrian(dot)klaver(at)aklaver(dot)com>, pgsql-general(at)lists(dot)postgresql(dot)org |
Subject: | Re: UUID generation problem |
Date: | 2020-10-05 16:51:36 |
Message-ID: | 5ddb4d5509945a2daf8b26f403810101.squirrel@webmail.harte-lyne.ca |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
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(at)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(at)Harte-Lyne(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | James B. Byrne | 2020-10-05 16:59:05 | Re: UUID generation problem |
Previous Message | Tom Lane | 2020-10-05 16:51:28 | Re: UUID generation problem |