Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cQW0J-0007vd-QZ for pgadmin-hackers@arkaria.postgresql.org; Mon, 09 Jan 2017 09:12:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cQW0J-0001jN-8y for pgadmin-hackers@arkaria.postgresql.org; Mon, 09 Jan 2017 09:12:35 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cQW0I-0001jE-M3 for pgadmin-hackers@postgresql.org; Mon, 09 Jan 2017 09:12:34 +0000 Received: from mail-it0-x234.google.com ([2607:f8b0:4001:c0b::234]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cQW0E-0004Zl-61 for pgadmin-hackers@postgresql.org; Mon, 09 Jan 2017 09:12:33 +0000 Received: by mail-it0-x234.google.com with SMTP id r185so18718869ita.0 for ; Mon, 09 Jan 2017 01:12:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=3Y/YDYytq6Wi+Tt7o/lw1sNuQTSJ89bTuv75Kz8JhYQ=; b=xDrjJ8JEZmA02vLpDOgwGrOaq5Gw77dlnuw07zrOMuPYrEpuY61SyU0ou72GG3dIe0 iEem4QEsg11Oq984B6r+PlzjNVAf5Tx0KUOuUDEolrsGjhpacRdHvzpyiG8+/HRARxmd JUSzhNUY2CXPxytPrkulhqAb6zDsheYVx6UISIctePeEN2jlYF/szRYZSrB38ctK+U/c LB8fC52ax62A4yN1stErW2lEGswIivzzmYbpUjyPVMUYsV/C1026iHzdWJR92hed2nm8 6i39OE2eXJk9p66ZMY2U9rOB4i8+h4XL8SsRC2dXS7eOzjoBLz01cukyBi15U2Rg2GKT /O/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=3Y/YDYytq6Wi+Tt7o/lw1sNuQTSJ89bTuv75Kz8JhYQ=; b=fxOgxhgKZQiK3mQk46+sux7oF07f+C+2KQGydlaiCBcI1PDtUvn0qvcVynCv6ReSwM rXRlMiFv2n1haA8IR8gKcCDMHDCfC9NQtGQLP7WFfKxA7S0iNntz05A5OztRVrnAm2W8 +oU3YMyfit5DcL40WQ4EUh2+zXFl+3Tpoap5TE40E+qQXvfObeEcALtzATxGEsmK+F+v rAjKXBb6dYhsOcn8eEKp4+wXovp4x90IUCld6wEaw61oTa0p0schZHygjenUCVZILK9v 92+WvyU1dXVi51p94IkaimkIiBbv3p7a9r7mRBzzE09egrKb14aJ3wnUf6BCb3O58s47 mQgw== X-Gm-Message-State: AIkVDXJDKEGZOQ9QmIwi4DD3BrZt3lQl+qjfd6hrb3yXRCxxSoQ/+d8s4olvmBD3g3llNljB72DUqzDARO9ojg== X-Received: by 10.36.175.83 with SMTP id l19mr8484054iti.113.1483953148033; Mon, 09 Jan 2017 01:12:28 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.224.198 with HTTP; Mon, 9 Jan 2017 01:12:27 -0800 (PST) In-Reply-To: References: From: Dave Page Date: Mon, 9 Jan 2017 14:42:27 +0530 Message-ID: Subject: Re: PATCH: To fix the issue in exclusion constraint (pgAdmin4) To: Murtuza Zabuawala Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Hi On Mon, Jan 9, 2017 at 10:46 AM, Murtuza Zabuawala wrote: > Hi Dave, > > I followed, > > 1) First click on main properties panel. > > 2) Sample definition, > > CREATE TABLE public.test_table > ( > id character varying(3) COLLATE pg_catalog."default" NOT NULL, > col1 bigint, > CONSTRAINT test_pkey PRIMARY KEY (id) > ) > WITH ( > OIDS = FALSE > ) > TABLESPACE pg_default; > > With above created table, create exclusion constraint with following options > using GUI, > > ALTER TABLE public.test_table > ADD CONSTRAINT test_exclu EXCLUDE USING btree ( > col1 DESC NULLS LAST WITH =); > > Click on Save, Exclusion constraint will be created successfully but you > will get error as wrong OID was sent while generating node info. Nope - it works fine for me. I wonder what's different... -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers