Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b3j3R-0004Nw-7Q for pgadmin-hackers@arkaria.postgresql.org; Fri, 20 May 2016 11:57:21 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b3j3Q-0007Cn-Ps for pgadmin-hackers@arkaria.postgresql.org; Fri, 20 May 2016 11:57:20 +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 1b3j3D-0006yk-Or for pgadmin-hackers@postgresql.org; Fri, 20 May 2016 11:57:07 +0000 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b3j39-0002BX-NL for pgadmin-hackers@postgresql.org; Fri, 20 May 2016 11:57:07 +0000 Received: by mail-oi0-x231.google.com with SMTP id b65so30789547oia.1 for ; Fri, 20 May 2016 04:57:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=0JPC0OlEPg7PVPm8D7sJxQugDjLX8JwhOwrddyFqW8E=; b=s+u2LwRKH5xvtOX8642Bn3K5VSyrAdzjJpdilmyGx70OI5V4oMe7l6xvNDbg+FPyk+ ml5kFos4eqpc4m0wk7ksaPiu5OaxlcNcBPnLy15MNVVPuZfJDvdDs32nhBgRBXqLRJtg kAgFJ1Evj+tTNJPxAGTGcWXfoi6oJnzeC4sEkArf2BrCyeHi74hNVIZSVQgR8hhcLJq8 BJErMTXwC8p5BILLDOMsGmzzaiffxUNFk0/VVjqSNjyGh4qO8TBJe/3mKkcoQyNvZY/6 Jye2+LK08i86/ca1Xit4FOps21dRSRfSKKgw5hMNE1AILtcFFPEMuwzdOrVHj6imTPub acMg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc; bh=0JPC0OlEPg7PVPm8D7sJxQugDjLX8JwhOwrddyFqW8E=; b=R5fCMiLwwTPhXB0P/SvX5Qa4BKLIa73rdm+L4q8oQXsV58qktPExkgfIW4OEc4od3h Dlfmv47GMia8tlii+mfLRpaWmh4KXMCkx91YwEOvJ/CvgxqYSYocvX/4+DFs+68npC8T pUB/sHGThTU3EVXv9d7MFP5sTpoxpmc+leUj9F84CWe9FelI633QmthXf2uN7kDnYQEB 6hktzgwkGVn4PwmqkQdQrcBeqFkYMxgGy0UocIgA+MuhYOvwmBjLTZYBPE96nqHPMVhV Nnwe7jalOFVwmCgE/E/YtTRtPSg7YV7tDWJu7MdEqJ8Unn/yt/zRvAgRTCDT349C0ai+ AhkQ== X-Gm-Message-State: AOPr4FVFnEbQR+2ghchzzpMkN8gbZHMEzUbPNJM+hdOUXb74q21P2Vf0UbTCKwkA9XC/PC4BdpHS2mzNaznk9Qpt MIME-Version: 1.0 X-Received: by 10.157.47.248 with SMTP id b53mr1875584otd.102.1463745421774; Fri, 20 May 2016 04:57:01 -0700 (PDT) Received: by 10.202.175.148 with HTTP; Fri, 20 May 2016 04:57:01 -0700 (PDT) In-Reply-To: References: Date: Fri, 20 May 2016 17:27:01 +0530 Message-ID: Subject: Re: [PATCH] Tables node (pgAdmin4) From: Akshay Joshi To: Harshal Dhumal Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary=001a113a8376e85c67053344c9a2 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 --001a113a8376e85c67053344c9a2 Content-Type: text/plain; charset=UTF-8 Thanks - Committed with minor changes. On Thu, May 19, 2016 at 10:47 PM, Harshal Dhumal < harshal.dhumal@enterprisedb.com> wrote: > Hi, > > PFA updated patch for table and all it's child nodes (Version 9). This > patch does not depend on any of existing table node patch. > > Major change in this patch: Unlike pgAdmin3 now in table create mode any > constraint(s) created (but not saved) will listen to table column changes > and adapt themselves accordingly. > > For e.g. > In table create mode user adds column definition with name "col1" then > adds constraint which includes column "col1". Now user changes column name > to "col2" then constraint will listen to this change and adapt the column > name from "col1" to "col2" in constraint definition. Also if column "col2" > is removed then constraint will also remove the column "col2" from it's > definition. > > > -- > *Harshal Dhumal* > *Software Engineer * > > > > EenterpriseDB > > > > -- > Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) > To make changes to your subscription: > http://www.postgresql.org/mailpref/pgadmin-hackers > > -- *Akshay Joshi* *Principal Software Engineer * *Phone: +91 20-3058-9517Mobile: +91 976-788-8246* --001a113a8376e85c67053344c9a2 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Thanks - Committed with minor changes.

On Thu, May 19, 2016 at 10:47 P= M, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:
Hi,
PFA updated patch for table and all it's child nodes (Version 9= ). This patch does not depend on any of existing table node patch.

<= /div>Major change in this patch: Unlike pg= Admin3 now in table create mode any constraint(s) created (but not saved) w= ill listen to table column changes and adapt themselves accordingly.=

For e.g.
In table create mode user adds column definition with name "col1&= quot; then adds constraint which includes column "col1". Now user= changes column name to "col2" then constraint will listen to thi= s change and adapt the column name from "col1" to "col2"= ; in constraint definition. Also if column "col2" is removed then= constraint will also remove the column "col2" from it's defi= nition.


--=C2=A0
= Harshal Dhumal
Software Engineer=C2=A0


<= br>


--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers=




--
Akshay Joshi
Principal Software Engineer=C2= =A0


=
Pho= ne: +91 20-3058-9517
Mobile: +91 976-788-8246
--001a113a8376e85c67053344c9a2--