Re: Same Table Name - 2 Owners

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>
Cc: 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-04 22:22:28
Message-ID: 717426.1728080548@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"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.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Guillaume Lelarge 2024-10-05 07:07:05 Re: Same Table Name - 2 Owners
Previous Message Holger Jakobs 2024-10-04 22:21:27 Re: Same Table Name - 2 Owners