Re: Same Table Name - 2 Owners - Mailing list pgsql-admin

From Tom Lane
Subject Re: Same Table Name - 2 Owners
Date
Msg-id 717426.1728080548@sss.pgh.pa.us
Whole thread Raw
In response to Re: Same Table Name - 2 Owners  ("David G. Johnston" <david.g.johnston@gmail.com>)
Responses Re: Same Table Name - 2 Owners
List pgsql-admin
"David G. Johnston" <david.g.johnston@gmail.com> writes:
> On Friday, October 4, 2024, Sam Stearns <sam.stearns@dat.com> 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



pgsql-admin by date:

Previous
From: "David G. Johnston"
Date:
Subject: Re: Same Table Name - 2 Owners
Next
From: Guillaume Lelarge
Date:
Subject: Re: Same Table Name - 2 Owners