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

From Sam Stearns
Subject Re: Same Table Name - 2 Owners
Date
Msg-id CAN6TVjn8oA93aykMi4HqupxOTqqPKmJefNdqFO0o1Urj=m-TzA@mail.gmail.com
Whole thread Raw
In response to Re: Same Table Name - 2 Owners  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgsql-admin
Thank you all for the help!  We're testing this out now with some Oracle imports into Postgres.

Sam

On Sat, Oct 5, 2024 at 12:07 AM Guillaume Lelarge <guillaume@lelarge.info> wrote:
Hello,

Le sam. 5 oct. 2024 à 00:22, Tom Lane <tgl@sss.pgh.pa.us> a écrit :
"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.


+1


Regards.


--
Guillaume.


--

Samuel Stearns
Lead Database Administrator
c: 971 762 6879 | o: 503 672 5115 | DAT.com

DAT

pgsql-admin by date:

Previous
From: pramod kg
Date:
Subject: Ensure 'User' Runtime Parameters are Configured
Next
From: Muhammad Usman Khan
Date:
Subject: Re: Ensure 'User' Runtime Parameters are Configured