Table Constraints Bug - Mailing list pgadmin-support

From Matthew Arp
Subject Table Constraints Bug
Date
Msg-id 490618.24822.qm@web83718.mail.sp1.yahoo.com
Whole thread Raw
Responses Re: Table Constraints Bug  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-support
pgAdminIII will not allow you to add a self-referential constraint while using the GUI table editor, see the below example:
 
CREATE TABLE "role"
(
  uid integer NOT NULL,
  "name" character varying(32) NOT NULL,
  parent integer NOT NULL DEFAULT 1,
  CONSTRAINT role_pkey PRIMARY KEY (uid),
  CONSTRAINT role_parent_fkey FOREIGN KEY (parent)
      REFERENCES "role" (uid) MATCH SIMPLE
      ON UPDATE NO ACTION ON DELETE RESTRICT
)
WITH (OIDS=FALSE);
ALTER TABLE "role" OWNER TO glasshook_admin;

pgadmin-support by date:

Previous
From: Julius Tuskenis
Date:
Subject: Re: Detected error in pgAdmin III v1.8.4
Next
From: Guillaume Lelarge
Date:
Subject: Re: Table Constraints Bug