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@postgresql.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