Thread: variable scope issue in server js [pgadmin4]
Hi,
PFA patch for server.js. Replaced ";" (semicolon) with "," (coma) in variable declaration.Attachment
Hi
--

On Thu, May 12, 2016 at 5:05 PM, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:
Issue: This was changing scope of all the variables declared after ";" (semicolon) from local to global and therefore affecting all other local variables with same name at different place in same file.Hi,PFA patch for server.js. Replaced ";" (semicolon) with "," (coma) in variable declaration.
Thanks- it is already being committed with the patch for "Named Restore Point" send by Murtuza.
--
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-9517
Mobile: +91 976-788-8246
Mobile: +91 976-788-8246
Hi Akshay,
Murtuza hasn't fixed it in all places. He missed in following tow functionsconnect_server and disconnect_server
On Thu, May 12, 2016 at 7:38 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:
HiOn Thu, May 12, 2016 at 5:05 PM, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:Issue: This was changing scope of all the variables declared after ";" (semicolon) from local to global and therefore affecting all other local variables with same name at different place in same file.Hi,PFA patch for server.js. Replaced ";" (semicolon) with "," (coma) in variable declaration.Thanks- it is already being committed with the patch for "Named Restore Point" send by Murtuza.
--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers--Akshay JoshiPrincipal Software EngineerPhone: +91 20-3058-9517
Mobile: +91 976-788-8246
On Thu, May 12, 2016 at 7:47 PM, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:
Hi Akshay,Murtuza hasn't fixed it in all places. He missed in following tow functionsconnect_server and disconnect_server
Thanks - Committed
On Thu, May 12, 2016 at 7:38 PM, Akshay Joshi <akshay.joshi@enterprisedb.com> wrote:HiOn Thu, May 12, 2016 at 5:05 PM, Harshal Dhumal <harshal.dhumal@enterprisedb.com> wrote:Issue: This was changing scope of all the variables declared after ";" (semicolon) from local to global and therefore affecting all other local variables with same name at different place in same file.Hi,PFA patch for server.js. Replaced ";" (semicolon) with "," (coma) in variable declaration.Thanks- it is already being committed with the patch for "Named Restore Point" send by Murtuza.
--
Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers--Akshay JoshiPrincipal Software EngineerPhone: +91 20-3058-9517
Mobile: +91 976-788-8246
Akshay Joshi
Principal Software Engineer

Phone: +91 20-3058-9517
Mobile: +91 976-788-8246
Mobile: +91 976-788-8246