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.96) (envelope-from ) id 1wO2Pn-001GcL-2o for pgsql-general@arkaria.postgresql.org; Fri, 15 May 2026 23:58:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wO2Pm-0024cx-1q for pgsql-general@arkaria.postgresql.org; Fri, 15 May 2026 23:57:58 +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.96) (envelope-from ) id 1wO2Pm-0024cm-0b for pgsql-general@lists.postgresql.org; Fri, 15 May 2026 23:57:58 +0000 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wO2Pk-00000000lvB-2Xdu for pgsql-general@postgresql.org; Fri, 15 May 2026 23:57:57 +0000 Received: by mail-oi1-x234.google.com with SMTP id 5614622812f47-47c35be02fdso160776b6e.3 for ; Fri, 15 May 2026 16:57:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778889476; cv=none; d=google.com; s=arc-20240605; b=Wu0oQnRJW/ufxWyO05kU69GQagJkJ1/eiScIOJkMJW/mj86ZvFpMS9WknO3OnDF2bf SWBNLx7oK0Wf3Jk6IDKAnHfO2vUN2urZA7yexP020zu+Lvrt/p0rlV8oQb7YQYaEtYmU 0Mq3H8YA4yRxY4MjutZgB9M+JyFCYs3tN1O2jzFzO3y3PWXNRd1Y96KxOFT3308Zd6DM e+ErWe+389QZK0TYWF3aRR/3QzMcV6pEMCCmbc2AwQsZ3TctgLq67QzDr2RDwkDvcHVT WZCgixxVYGGwKiBWUpnLI48UrEv29PtZU0LxQOZErVIrHRCJBGxZCLqzuBzxN3G/0S2T HcPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YxffAJ8kP29zFjHWDxH4ZUheaFh7S4+Av4morGgCK2s=; fh=xlEumQ/ItFTuseMU8abXWvw+r9sDum0uiRjXXzYxDTI=; b=iw/rM1FiE1B5eGBPnsJm9TzR5ADW60wUv+oZIAODHEW0npVSvgoNGwjCdFuEKkHdmJ lyQyKUq1xBpvxDAg57MVm8S/wIoAWPDqpvGLDYuM0LKCsQxef5SwzG/cLB/IQ/eTm035 yVi4Jc87DQ3lLG087s+1+XAhSnT4o1B1gIRAwRzMEPm/vcTkkjjk7yzUzpMrSRevsNQR AP6fSDbm+wVIAeXo7nBO9KIiyfU9+3e5hzuKT33tzx6I+UzRH1tWKL5YDZxbWntuXeyn 006AfNxy5hAIp/lZrpWy1nc/HeELjwZAEe7B68VFoXPceTuqwY6ZPPQ7cvPkK+MAwPo9 MRGA==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778889476; x=1779494276; darn=postgresql.org; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :from:to:cc:subject:date:message-id:reply-to; bh=YxffAJ8kP29zFjHWDxH4ZUheaFh7S4+Av4morGgCK2s=; b=j7jws+ASZI/0SX4kkjKK9LADfEVPfI/XMQOx9rvXTJXLBHjneArJysexQEvy9j21eF sFUPkLsYW8tmYgSp9eAPIYumU7vxNCTb7xYFzeWevbGyw8vmK5zAJgtJqFL9lRSbqIi4 7rVWQ0/PCxNj/6be4t8YWvb5Yeb16XuVr/GurKPSo+sv5FqTf2bcwczU0nNVchG1fwHv QejOrzvtdbS14v4BnRsdR4qrqiTu61eNrTxbEnn9TalG7bF9bpBlTtFxvO1iS7zm/tjM HgAwmh3rASFEtHIYMKycyM1CDRxeMeJcJr1EYIf6f3ujQmdSvlZ+C3Je0VAMU538wTkF oD9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778889476; x=1779494276; h=to:subject:message-id:date:from:in-reply-to:references:mime-version :x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=YxffAJ8kP29zFjHWDxH4ZUheaFh7S4+Av4morGgCK2s=; b=A0gpn7K97b878jZsTQFhYKaH+vmqNm5fT21d6TInLY3dj/LK/jzxfgXm9H0tuElgg+ x79RUJRini6oSEdQTqa6oPH4yClLiwC1CDeMjeCGVhWZw/K371Yhn5Oj+CgTuzKIsnGF PXwmXye9l3KJQWSA8txXlkR8k01DbfVWZXy3f8a27KfHCdhsE3zx7oI7ZvlUMJoP8Oiy OJgHXPzZKHyK7JWV7t+22mQdcuDJ+JEI90wGnSzMSyfKkiA26hsFVJeHJhtYGH3ZQXaI s1wQKnTULDHJ+jwWHRQ+KBxbuTDaAd1Bq/ApsM4uRy/6eQpGy72HvNpmRUu8heH7WxS4 i8uw== X-Gm-Message-State: AOJu0YwXi7kRhpCbRRfUmuhpB9TNo5JyU1XSxsXaC6qZD9kiZOT2c/DV qCIRZ+AsCVKRXIgKaENInAtZWBdHk7FIQElr0pSniWcOUPQmlpvkDE6Sfz5At9W68rZEfmdXztb dcsZK52IaSdPxoPIMgeTdiCQdpG4Fee0g0Q== X-Gm-Gg: Acq92OEjAeGFpafiYfVhzGc3hnNC1yfZSbt3Q4I3KlgG+hPb40srEKbxelrFdK3fPoo Bxkm4WZ8Qk+J6AFF4rDbhQyH+iH8+/ZJjw4hJLWLUxZO7eMCrBBL7nCDueWsccVBCSp6mysUWWD 8XULTKtiHN09AIAyWfTzoC/cK9zO8CqEWyTEPCRR+65aRF/UH+3tkFY+9fNz/L4cZTwLMUnOUOR HqszVwyA2E2AHFTpcamVZwdqrZOpPq+4e49hHOjecSvMsBcZYtqpyfXqK5fyXl7KuZx2BSoFpza N7roatKDX+RtfSl0p3Y= X-Received: by 2002:a05:6808:509e:b0:467:de0e:fe9a with SMTP id 5614622812f47-482e577b4c4mr4371437b6e.25.1778889475780; Fri, 15 May 2026 16:57:55 -0700 (PDT) MIME-Version: 1.0 References: <1439462.1778887378@sss.pgh.pa.us> In-Reply-To: <1439462.1778887378@sss.pgh.pa.us> From: Ron Johnson Date: Fri, 15 May 2026 19:57:45 -0400 X-Gm-Features: AVHnY4LLC0C24lYpvEqurVAjiF1tZuSMcSUGzQvI_ErEtwBOEvfQJo1WA0AuWZQ Message-ID: Subject: Re: Suggestion for Easier Cross-Database Query Handling in PostgreSQL To: "pgsql-general@postgresql.org" Content-Type: multipart/alternative; boundary="0000000000004c758d0651e3fbf8" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000004c758d0651e3fbf8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, May 15, 2026 at 7:22=E2=80=AFPM Tom Lane wrote: > Ron Johnson writes: > > Why doesn't the shared OID space make cross-database queries possible? > > OIDs are not guaranteed unique across databases. Ah. > But totally independently of implementation considerations, it's not > apparent to me that this would be a good idea. As Frank mentioned, > Postgres has always treated databases as isolation boundaries. > Changing that would probably break a lot of peoples' installation > designs. > Even now, roles need privilege to access databases. --=20 Death to , and butter sauce. Don't boil me, I'm still alive. lobster! --0000000000004c758d0651e3fbf8 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, May 15, 2026 at 7:22=E2=80=AFPM T= om Lane <tgl@sss.pgh.pa.us> = wrote:
Ron Johnson <ronljohnsonjr@gmail.com> write= s:
> Why doesn't the shared OID space make cross-database queries possi= ble?

OIDs are not guaranteed unique across databases.

Ah.
=C2=A0
But totally independently of implementation considerations, it's= not
apparent to me that this would be a good idea.=C2=A0 As Frank mentioned, Postgres has always treated databases as isolation boundaries.
Changing that would probably break a lot of peoples' installation
designs.

Even now, rol= es need privilege to access databases.

--
Death to <Redacted>, and butter sauce.
Don&= #39;t boil me, I'm still alive.
<Redacted> lobster!<= /div>
--0000000000004c758d0651e3fbf8--