Need to insert null value to field with uuid
type without NOT NULL specification (not primary key).
When I try insert '', this return:
ERROR: invalid input syntax for uuid: ""
When I try insert null, this return:
ERROR: null value in column "uuid" violates not-null constraint
How to do it?
psql 9.3.5
SQL:
INSERT INTO inv_location (address_id)
VALUES (null)
\d tbl
inpsql
). And also the verbatimINSERT
command you are using. And always your version of Postgres. – Heartburn