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 1kPTlM-0003wh-Qb for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 16:55:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kPTlL-0004O4-4M for pgsql-general@arkaria.postgresql.org; Mon, 05 Oct 2020 16:54:59 +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 1kPTi9-0006W2-R0 for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 16:51:41 +0000 Received: from mx32.harte-lyne.ca ([216.185.71.32]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kPTi7-0005iB-Kt for pgsql-general@lists.postgresql.org; Mon, 05 Oct 2020 16:51:40 +0000 Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id CE4425B868; Mon, 5 Oct 2020 12:51:38 -0400 (EDT) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id bTFAPimvPbbE; Mon, 5 Oct 2020 12:51:37 -0400 (EDT) Received: from webmail.harte-lyne.ca (webmail.hamilton.harte-lyne.ca [216.185.71.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id 7EDE85B85D; Mon, 5 Oct 2020 12:51:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1601916697; bh=cpErGXIEcPaoPiz/KOBe3PbDf5P1LMZlQDs839AB8dk=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=yhcj0L5jovyWuWjf64xaaTYCo/U76Vsj/RLZ7av0ZRNUwOBBH9KM66/INrD2L92FM R5cP9gjEtQNlFnajPFaG74CiGkqBVzcQ410tCXA13ExY5FUTeIvFQATMgGUlbzgHPe 8FJqhncALNcr9zXmyTj/89Y4c7lu/hguJ7TcBVmGn+hkiJ56raSkC19H2If1z6BvME n0gupGngwfUgGDazLeS8WONUmwNw21WPAwOBF8rYkBAN8ZMsjRwQHxiRRWuO++P+hd KDy9SjvsAKKFKC349/LxIxSrWbMyFms3QvxVH2BmYUklqbUakL/ppWdAAL8kJm+ENY nGZAKv5UjMZgA== Received: from 216.185.71.41 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Mon, 5 Oct 2020 12:51:36 -0400 Message-ID: <5ddb4d5509945a2daf8b26f403810101.squirrel@webmail.harte-lyne.ca> In-Reply-To: <5D2FCB5D-43F9-4FC6-87F8-6AA073B3FB1B@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> Date: Mon, 5 Oct 2020 12:51:36 -0400 Subject: Re: UUID generation problem From: "James B. Byrne" To: =?iso-8859-1?Q?=22Paul_F=C3=B6rster=22?= Cc: "Adrian Klaver" , pgsql-general@lists.postgresql.org Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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