Re: [pgAdmin4][patch]: RM #3090 pgadmin shows misleading "Query returned successfully" with incorrect SQL

2018-03-27 Thread Akshay Joshi
Hi Joao On Tue, Mar 27, 2018 at 6:53 PM, Joao De Almeida Pereira wrote: > Hi Akshay, > > We were not trying to imply that your fix did not solve the problem, we > were trying to understand the root cause of the problem. > As per my understanding root cause of the problem is "exception_obj.

Re: pgadmin healthcheck-url

2018-03-27 Thread Wilhelm Wurzer
Hi, i did the test in the browser (chrome), but it can as well be reproduced using "curl". The logging ('-v') shows that the session cookies is sent with the response. [ec2-user@ip-10-0-7-174 ~]$ curl -v http://10.0.7.174:8084/misc/ping * Trying 10.0.7.174... * TCP_NODELAY set * Connected

Re: [pgAdmin4][RM#3055] Allow user to sort the data in View data mode

2018-03-27 Thread Robert Eckhardt
On Tue, Mar 27, 2018 at 9:54 AM, Murtuza Zabuawala wrote: > > > On Tue, Mar 27, 2018 at 7:06 PM, Robert Eckhardt > wrote: > >> >> >> On Tue, Mar 27, 2018 at 6:25 AM, Murtuza Zabuawala < >> murtuza.zabuaw...@enterprisedb.com> wrote: >> >>> On Tue, Mar 27, 2018 at 3:13 PM, Dave Page wrote: >>> >>

Re: pgadmin healthcheck-url

2018-03-27 Thread Murtuza Zabuawala
I'm not able to re-produce the behaviour when using browser. - Could you let us know the exact steps to re-produce the issue? - How did you trigger http request to hit '/ping' url? -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company On Tue,

Re: [pgAdmin4][RM#3055] Allow user to sort the data in View data mode

2018-03-27 Thread Murtuza Zabuawala
On Tue, Mar 27, 2018 at 7:06 PM, Robert Eckhardt wrote: > > > On Tue, Mar 27, 2018 at 6:25 AM, Murtuza Zabuawala enterprisedb.com> wrote: > >> On Tue, Mar 27, 2018 at 3:13 PM, Dave Page wrote: >> >>> >>> >>> On Mon, Mar 26, 2018 at 9:26 PM, Robert Eckhardt >>> wrote: >>> On Mon,

Re: [pgAdmin4][RM#3055] Allow user to sort the data in View data mode

2018-03-27 Thread Robert Eckhardt
On Tue, Mar 27, 2018 at 6:25 AM, Murtuza Zabuawala < murtuza.zabuaw...@enterprisedb.com> wrote: > On Tue, Mar 27, 2018 at 3:13 PM, Dave Page wrote: > >> >> >> On Mon, Mar 26, 2018 at 9:26 PM, Robert Eckhardt >> wrote: >> >>> >>> >>> On Mon, Mar 26, 2018 at 2:07 PM, Joao De Almeida Pereira < >>>

Re: [pgAdmin4][patch]: RM #3090 pgadmin shows misleading "Query returned successfully" with incorrect SQL

2018-03-27 Thread Joao De Almeida Pereira
Hi Akshay, We were not trying to imply that your fix did not solve the problem, we were trying to understand the root cause of the problem. 1. We were not able to reproduce the problem We followed your directions in RM, removed your fix but we could not reproduce the problem. So we could not make

Re: pgadmin healthcheck-url

2018-03-27 Thread Wilhelm Wurzer
>From the about dialog: Version 2.1 Python Version 2.7.5 (default, Aug 4 2017, 00:39:18) [GCC 4.8.5 20150623 (Red Hat 4.8.5-16)] Flask Version 0.11.1 Wilhelm Wurzer Von: "Murtuza Zabuawala" An: "Wilhelm Wurzer" CC: "pgadmin-hackers" Gesendet: Dienstag, 27. März 2018 14:30:27 Betref

Re: pgadmin healthcheck-url

2018-03-27 Thread Murtuza Zabuawala
What is the pgAdmin4 version? On Tue, Mar 27, 2018 at 5:54 PM, Wilhelm Wurzer wrote: > Hi, > > thanks, but a cookie / session-file is still created: > > Request URL: http://xxx.com/misc/ping > Request Method: GET > Status Code: 200 OK > > Response: > Date: Tue, 27 Mar 2018 12:17:55 GMT > Server

Re: pgadmin healthcheck-url

2018-03-27 Thread Wilhelm Wurzer
Hi, thanks, but a cookie / session-file is still created: Request URL: http://xxx.com/misc/ping Request Method: GET Status Code: 200 OK Response: Date: Tue, 27 Mar 2018 12:17:55 GMT Server: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips mod_wsgi/3.4 Python/2.7.5 Set-Cookie: pga4_session="230

Re: pgadmin healthcheck-url

2018-03-27 Thread Murtuza Zabuawala
You can use '/misc/ping' route to check if pgAdmin4 is running. Example: http://localhost:5050/misc/ping On Success you will get, Status code: 200 Response text: PING -- Regards, Murtuza Zabuawala EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company On Tue, Mar 27, 2018

pgadmin healthcheck-url

2018-03-27 Thread Wilhelm Wurzer
Hi, we are using pgadmin in a docker container on aws. To ensure that the container is up and running, a healthcheck is periodically checking via http, restarting the container if neccessary. When checking the filesystem, we found that for each request, a session file is created. Healthcheck

Re: [pgAdmin4][RM#3055] Allow user to sort the data in View data mode

2018-03-27 Thread Murtuza Zabuawala
On Tue, Mar 27, 2018 at 3:13 PM, Dave Page wrote: > > > On Mon, Mar 26, 2018 at 9:26 PM, Robert Eckhardt > wrote: > >> >> >> On Mon, Mar 26, 2018 at 2:07 PM, Joao De Almeida Pereira < >> jdealmeidapere...@pivotal.io> wrote: >> >>> Hi Hackers, >>> >>> @Murtuza: The patch codewise looks good. Nice

Re: [pgAdmin4][RM#3055] Allow user to sort the data in View data mode

2018-03-27 Thread Dave Page
On Mon, Mar 26, 2018 at 9:26 PM, Robert Eckhardt wrote: > > > On Mon, Mar 26, 2018 at 2:07 PM, Joao De Almeida Pereira < > jdealmeidapere...@pivotal.io> wrote: > >> Hi Hackers, >> >> @Murtuza: The patch codewise looks good. Nice to see that we are using >> axios instead of jquery ajax calls and t