Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cQWNH-0000rh-Fx for pgadmin-hackers@arkaria.postgresql.org; Mon, 09 Jan 2017 09:36:19 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cQWNH-00054Q-2t for pgadmin-hackers@arkaria.postgresql.org; Mon, 09 Jan 2017 09:36:19 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cQWN3-0004pS-C5 for pgadmin-hackers@postgresql.org; Mon, 09 Jan 2017 09:36:05 +0000 Received: from mail-it0-x22a.google.com ([2607:f8b0:4001:c0b::22a]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1cQWMz-0004lx-NA for pgadmin-hackers@postgresql.org; Mon, 09 Jan 2017 09:36:04 +0000 Received: by mail-it0-x22a.google.com with SMTP id c7so16704935itd.1 for ; Mon, 09 Jan 2017 01:36:01 -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=vLbidV9yXKszs47p8FyuLhMcyjz1YnnGiGzetXEsuNo=; b=NLp/+OUSVyHHK4r9fq4mlJS0MwI6nIpNM30oNe0jK82p9W4kzJ/yVkKFk7ejvxofrN OAYFtaMwCkxgRjwpoz+m9quWKoTRh4ENVTgYv2veWJ65TGOhvgp6k5sJJCnBiLa1xMh0 lSZJoD1x/AhFWEYcdLGwbtT0adUSD4r04iiyiY6UXjFTkQ18BLa8qQJDYkngk6oRBiM7 jj781P9V7v7tOTUtfARQKVP0a0TgxuC/ffhpIDI/ENpOiwuSVlppABb3GtwoCPTgpZQP vsO5WBklOpWiJ5yji9u9DZwKBBWw5H/mcS6IQBe9/8h9uwOnXWsBTiRxYmRF7YjCreUL k8kA== 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=vLbidV9yXKszs47p8FyuLhMcyjz1YnnGiGzetXEsuNo=; b=SkTTGtRg+UbK3GV5KJPtYs8eBIkTMTwuWQzK1e/TFh+KMFdaS6o7T9PIGFIhZzNz9n J3ylE5va/s/QIyEhJ0FQbawzSWrKQg4x/DENi1OHctpRwFIujwDctDl2CnCMoYHLCfu9 kaFonvj84D2fkfb5ZZHGy2FcNeg/Z7OzF+28zuzgyvFIu5Iwjvo8YN4FWXFqHbRDGYlE qem1K9/Lycrl1l7ez0fC1upXpwyw76qmrp4K4lhExUz2u6z6u5EQyalNDX7k4BnlyD0Q sw5szcgLqby7Cj15z5vJI4Ux6GSTWdoKVfIjyLDXpur1qWkzKCsVF5mQmXU28+uk9D+m Er2Q== X-Gm-Message-State: AIkVDXK2m50j+C6I/mDGalfdrQLGcaeNcEL8tsAQ45LR38q9jRFzaeUjjWMUufobK/whzbcpec5Y5uq2Zh+gxw== X-Received: by 10.36.245.5 with SMTP id k5mr8665245ith.100.1483954560513; Mon, 09 Jan 2017 01:36:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.224.198 with HTTP; Mon, 9 Jan 2017 01:35:59 -0800 (PST) In-Reply-To: References: From: Dave Page Date: Mon, 9 Jan 2017 15:05:59 +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 Patch applied (once Murtuza showed me how to recreate the problem). Thanks! On Mon, Jan 9, 2017 at 2:42 PM, Dave Page wrote: > 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 -- 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