![]() | |
![]() |
| | Thread Tools | Display Modes |
#41
| |||
| |||
|
|
[CUT] can you post the definition of your table, so we can see what's unknown> to us? CREATE TABLE interfaces ( unknown CONSTRAINT if_uniq UNIQUE (name, device) ) ; here: CREATE TABLE interfaces ( id serial NOT NULL, device integer NOT NULL, name character varying(255) NOT NULL, inet_addr inet, CONSTRAINT interfaces_pkey PRIMARY KEY (id), CONSTRAINT interfaces_device_fkey FOREIGN KEY (device) REFERENCES devices (id) MATCH SIMPLE ON UPDATE NO ACTION ON DELETE NO ACTION, CONSTRAINT if_uniq UNIQUE (name, device), CONSTRAINT interfaces_inet_addr_key UNIQUE (inet_addr) ) WITH (OIDS=FALSE); ALTER TABLE interfaces OWNER TO postgres; I'm sorry, I finally found the problem and fixed it by myself: among |
![]() |
| Thread Tools | |
| Display Modes | |
| |