Search Postgresql Archives

Re: created type not found in create table

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Open _ <opensheart@xxxxxxxxx> writes:
>    CREATE TYPE staffadmin.staff_roll
>        as ENUM ('Not yet defined', 'Everything', 'Sys Admin', 'Developer', 'DBA', 'Security', 'Art & Apperance', 'Support', 'Manager') ;
>    CREATE TYPE

> ...

>    psql:/tmp/psql_tmp.5133.sql:16: ERROR:  type "staffadmin.staff_role" does not exist
>    LINE 9:   role           staffadmin.staff_role   NOT null ,
>                             ^


Uh, you didn't spell it that way before.

			regards, tom lane






[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux