Re: Same Table Name - 2 Owners

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, Sam Stearns <sam(dot)stearns(at)dat(dot)com>, Pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>, Peter Garza <peter(dot)garza(at)dat(dot)com>, Henry Ashu <henry(dot)ashu(at)dat(dot)com>
Subject: Re: Same Table Name - 2 Owners
Date: 2024-10-05 07:07:05
Message-ID: CAECtzeXkpJrDxRRKHdS=mz5Sp2PoNqO8AOjmNmb1PF5Y=hj0uA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello,

Le sam. 5 oct. 2024 à 00:22, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> a écrit :

> "David G. Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com> writes:
> > On Friday, October 4, 2024, Sam Stearns <sam(dot)stearns(at)dat(dot)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

Great article on this topic:
https://stormatics.tech/blogs/transitioning-from-oracle-to-postgresql-understanding-the-concept-of-schema

Regards.

--
Guillaume.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message pramod kg 2024-10-07 08:33:24 Ensure 'User' Runtime Parameters are Configured
Previous Message Tom Lane 2024-10-04 22:22:28 Re: Same Table Name - 2 Owners