Re: Two tables with same name in different user not allowed

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Kumar, Lakshmi (Cognizant)" <NLakshmi(at)chn(dot)cognizant(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Two tables with same name in different user not allowed
Date: 2002-02-06 05:35:01
Message-ID: 200202060535.g165Z1804446@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Kumar, Lakshmi (Cognizant) wrote:
> Hi ,
> I have two users in my database x & y.
> I tried to create a table abc in y which is there in x with the same
> name.Ofcourse i logged in as user y and tried.
> Even then am not allowed to create throwing error that "object already
> exist".
> Can anybody xplain this comparing Oracle-schema with the user in postgres
> as am in the process of porting oracle schemas to postgres`.

We don't have schemas but hope to have them in 7.3. Right now, you can
create temp tables with duplicate names but they go away on session
exit.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Andy Marden 2002-02-06 10:46:50 Re: Recovery - transaction logs
Previous Message Kumar, Lakshmi (Cognizant) 2002-02-06 04:41:16 Two tables with same name in different user not allowed ?