"Matthew L. Wirges" <wirges(at)cerias(dot)purdue(dot)edu> writes:
> address_type VARCHAR(30) DEFAULT 'unknown' NOT NULL CHECK(address_type
> IN ("unknown", "forged", "proxy", "temporary", "permanent"))
> gives the error:
> psql:IRDB_POSTGRES:69: ERROR: Attribute 'unknown' not found
You must use single quotes not double quotes for literal strings.
Double-quotes are for names that don't follow standard identifier
rules.
regards, tom lane