Re: [pgAdmin4][RM#3014] Fix validation issues while creating new sequence

2018-02-23 Thread Dave Page
Thanks, applied. On Fri, Feb 23, 2018 at 11:34 AM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Hi Dave, > > PFA patch to add test case to cover the scenario against RM#3014 > > > On Wed, Feb 21, 2018 at 11:09 PM, Murtuza Zabuawala < > murtuza.zabuaw...@enterprisedb.com> wrote

Re: [pgAdmin4][RM#3014] Fix validation issues while creating new sequence

2018-02-23 Thread Murtuza Zabuawala
Hi Dave, PFA patch to add test case to cover the scenario against RM#3014 On Wed, Feb 21, 2018 at 11:09 PM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Hi Joao, > > ​Thank you for your time in reviewing the patch.​ > > > On Wed, Feb 21, 2018 at 9:24 PM, Joao De Almeida Pere

Re: [pgAdmin4][RM#3014] Fix validation issues while creating new sequence

2018-02-21 Thread Murtuza Zabuawala
Hi Joao, ​Thank you for your time in reviewing the patch.​ On Wed, Feb 21, 2018 at 9:24 PM, Joao De Almeida Pereira < jdealmeidapere...@pivotal.io> wrote: > Hi Murtuza, > Looks good. > Was there any reason for the change in position of the if statements in > the sql file. Makes the output more

Re: [pgAdmin4][RM#3014] Fix validation issues while creating new sequence

2018-02-21 Thread Dave Page
Thanks, applied. On Wed, Feb 21, 2018 at 8:13 AM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > Hi, > > PFA patches, > 1) To fix the validation issue while creating new sequence > RM#3014 > > 2) Fix PEP-8 issues in sequence module > pycodestyle --config=.pycodestyle ./pgadmin/b

Re: [pgAdmin4][RM#3014] Fix validation issues while creating new sequence

2018-02-21 Thread Dave Page
On Wed, Feb 21, 2018 at 3:54 PM, Joao De Almeida Pereira < jdealmeidapere...@pivotal.io> wrote: > Hi Murtuza, > Looks good. > Was there any reason for the change in position of the if statements in > the sql file. Makes the output more readable? > Looks like we need some test to ensure that the Se

Re: [pgAdmin4][RM#3014] Fix validation issues while creating new sequence

2018-02-21 Thread Joao De Almeida Pereira
Hi Murtuza, Looks good. Was there any reason for the change in position of the if statements in the sql file. Makes the output more readable? Looks like we need some test to ensure that the Sequence issue does not happen again. Maybe a Unit Test is good enough, to ensure that we are creating a good