From: | Radu-Adrian Popescu <radu(dot)popescu(at)aldratech(dot)com> |
---|---|
To: | Felipe Nievinski <fnievinski(at)terra(dot)com(dot)br> |
Cc: | psql <pgsql-sql(at)postgresql(dot)org> |
Subject: | Re: table name - TypeCreate error |
Date: | 2002-01-24 13:37:43 |
Message-ID: | 1011879463.3343.51.camel@rpopescu |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Thu, 2002-01-24 at 15:20, Felipe Nievinski wrote:
> Hi.
>
> Please, I would like to know why I can't create a table with a name
> equal of a type name.
>
> For example, when a try this:
> CREATE TABLE time (id int);
> I get the following error message:
> ERROR: TypeCreate: type time already defined
>
> I would expect to be able to create a table with any name different
> than others tables' name.
>
> Thank you in advance,
> Felipe.
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo(at)postgresql(dot)org
teamsheet=# CREATE TABLE "time" (id int);
ERROR: type named time already exists
teamsheet=# CREATE TABLE "Time" (id int);
CREATE
:-)
--
Radu-Adrian Popescu
CSA, DBA, Programmer
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2002-01-24 15:00:00 | Re: table name - TypeCreate error |
Previous Message | Felipe Nievinski | 2002-01-24 13:20:26 | table name - TypeCreate error |