Sto tentando di eseguire la seguente query tramite l'utilità PgAdmin.Postgresql 9.1: ERRORE: il tipo "citext" non esiste
CREATE TABLE svcr."EventLogs" ("eventId" BIGINT NOT NULL,
"eventTime" TIMESTAMP WITH TIME ZONE NOT NULL, "userid" CITEXT,
"realmid" CITEXT NOT NULL, "onUserid" CITEXT, "description" TEXT,
CONSTRAINT eventlogs_pkey PRIMARY KEY ("eventId"));
e ottengo seguente errore -
ERROR: type "citext" does not exist
SQL state: 42704
Character: 120
Tuttavia, seguente query funziona bene -
CREATE TABLE svcr."CategoryMap" ("category" INT NOT NULL,
"userData" INT NOT NULL);
Cosa c'è di sbagliato con la prima query?
Si sta utilizzando un tipo di colonna che non esiste in postgesql, proprio come il messaggio dice v –