Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x9kx4-00000002CxS-0jNr for pgsql-general@arkaria.postgresql.org; Thu, 24 Sep 2026 15:01:34 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.98.2) (envelope-from ) id 1x9kx3-0000000CsFY-0eAg for pgsql-general@arkaria.postgresql.org; Thu, 24 Sep 2026 15:01:33 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x9kx2-0000000CsFO-0nCZ for pgsql-general@lists.postgresql.org; Thu, 24 Sep 2026 15:01:32 +0000 Received: from fout-a4-smtp.messagingengine.com ([103.168.172.147]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1x9kwz-0000000130z-0OTI for pgsql-general@postgresql.org; Thu, 24 Sep 2026 15:01:31 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 8E066EC00EB; Thu, 24 Sep 2026 11:01:28 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Thu, 24 Sep 2026 11:01:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1790262088; x=1790348488; bh=5pTjdTG7z6iS1AvOvg2Q04t78tS+eLv5xDktv60tcbs=; b= vjm/G5ox6+s9cR8ZDBDyyV68arnyCdAUTtrjqLmpd5ND8TfYlYQ16oLd7QN78SdM ktCREPMwlxFJzIA3WBsVZ6F5NPddejR5dJ9nkoNIhLYYGDJKOTz06D1wTk2nyHgW KRApVKB/94Iqq0DMfr+UGcAiNsJvmGJXU/gd/kH0HEWO2/FoDkMl8Y03NYMaKCls I/DUCXrciyHwgwF5EqRLmS1gjSZwDL/61kjNQAlFhdzzNf5/Lf8NXsTI4QBfus7B L5NBkM57pLIZEPOKNqr7snuhHrNQMTYWDxdDx1gpebC2MDhcdfyHi8THiYePtYxY 7G/uW3VBsSrT7AC8rg+mSw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1790262088; x= 1790348488; bh=5pTjdTG7z6iS1AvOvg2Q04t78tS+eLv5xDktv60tcbs=; b=w DiM0Wa7Yrm5OxlP819Tlk5x93MZJ77xNHh5J0qQcP+drW3+/V4RktD34Pt0EHXjv FnlA6G3kYJmrFG47Tm8AogKSfmH65TYijJ7PoVh9aYYAoHMtLB8RxovRJMZk2lQE 3SgKBeubJLW/HQnqqz0nuBaPBNnPlNVwiyNQhMnzVoKIkE/G139kKv4nXtVoVCXi IhlKkwCK2hZapFNLYqDdeMF0Lb1mYQmONN9lMpJTaNezCkLSyW9U004ONp7UX+v2 buXwj/Y9Wi1yVOl1Xg1HDMC//J7oMAKTcVl9erffYjSM/FKxpx0mpdtmjO8v/EU7 bE5O93BmCexeihvG34YcQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGYfCuXNvjxa/L1HXBSpQaQNWlraFBzb8sl5dwjny8GxPAkYYg/59kZZs24sxxyjA b8PsPcxOpCW9Qc3/aT2rFy3IfJ9DuGUjkvQV1lyee5H+OE32kfaTqW3lkZ0J1gB+B6SX0A aRcfAq2j21TyUQgXC6YmW8UqxlgvSCj1Xy5tModWRy/1KRyU6DTsIRnwLLbb2kS7v4B/OX GsWWr+U1qbgNjczyaFhDwbNB7N5umMUS6YdfvviZrKYCaZInqTjONPFsMB3dLaovJRSl/f cGDdADYx5sIfe9fSV/XM+H5qsb/bFjccYsCYzujUf22tkj6yhAJUnJ5KQXq2sRER64bvjg YcTWvlC3wWlLi83SZEfMj1RfLJq7yimi2nqAq7ruWC0Im7dQpQElNW2O33lS4RbE1PbLZO aYq8ccCFSHu78xuYlNngWTYKk9qI20ZJN3ykMGRay+jkGj6HagBCN3XcgX7lMbJm5/tgIq +t8WiYnpPSTx4fMMVgFTSpI1OuttidMLyuWhwKOA/EE0BANZkXdodguL6cdUVVeFHOPvJY zbd9rc9MMV4JgctCzPUnarhg/VSjk81TS9KtEgUxmGF4/CVqimD05qcPqFsOgcG7HK6jys OK26v47MgfYzxk9jXlr/8VEkPQhzAc2WGB3OsB3/7uLb20nxxmXa3/6Hpjeg X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 24 Sep 2026 11:01:26 -0400 (EDT) Message-ID: Date: Thu, 24 Sep 2026 08:01:26 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Multiple schemas To: Alban Hertroys , rob stone Cc: pgsql-general@postgresql.org References: <12e2ffff149842d8762774e8ef307743cdb96736.camel@tpg.com.au> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/24/26 2:19 AM, Alban Hertroys wrote: > >> On 24 Sep 2026, at 10:24, rob stone wrote: >> >> Hello, >> >> I've been using a single schema in a database for years and I decided >> to try using multiple schemas in the same database. >> >> So, I set up a test database and followed the same procedure that I >> have used in the past but this time specifying multiple schemas. > > … > >> show search_path; >> search_path >> ---------------- >> "bsmdl, foots" >> (1 row) > > I think there’s your problem. You have schemas named “bsmdl” and “foots”, not a schema named "bsmdl, foots”. In other words you did: SET search_path TO 'bsmdl, foots' and got SHOW search_path ; search_path ---------------- "bsmdl, foots" Instead you should do: SET search_path TO bsmdl, foots; to get: SHOW search_path ; search_path -------------- bsmdl, foots > > Alban Hertroys > -- > If you can't see the forest for the trees, > cut the trees and you'll find there is no forest. > > > -- Adrian Klaver adrian.klaver@aklaver.com