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.94.2) (envelope-from ) id 1swqh2-006MiX-Iz for pgsql-admin@arkaria.postgresql.org; Fri, 04 Oct 2024 22:22:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1swqh1-007CWu-To for pgsql-admin@arkaria.postgresql.org; Fri, 04 Oct 2024 22:22:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1swqh1-007CWb-IJ for pgsql-admin@lists.postgresql.org; Fri, 04 Oct 2024 22:22:35 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1swqgx-002ZYh-JI for pgsql-admin@lists.postgresql.org; Fri, 04 Oct 2024 22:22:34 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 494MMSIJ717427; Fri, 4 Oct 2024 18:22:28 -0400 From: Tom Lane To: "David G. Johnston" cc: Sam Stearns , Pgsql-admin , Peter Garza , Henry Ashu Subject: Re: Same Table Name - 2 Owners In-reply-to: References: Comments: In-reply-to "David G. Johnston" message dated "Fri, 04 Oct 2024 15:17:03 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <717425.1728080548.1@sss.pgh.pa.us> Date: Fri, 04 Oct 2024 18:22:28 -0400 Message-ID: <717426.1728080548@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk "David G. Johnston" writes: > On Friday, October 4, 2024, Sam Stearns wrote: >> Is it possible to do this in Postgres? > Within PostgreSQL, two objects can have the same name if they are of > different types (note, relations is a fairly broad type category) or they > exist in different schemas. The Oracle case probably also works by putting the tables in different schemas. I recall hearing that Oracle identifies "owner" with "schema" much more closely than we do. regards, tom lane