Re: pgAdmin III commit: Fix log_statement query in frmStatus - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject Re: pgAdmin III commit: Fix log_statement query in frmStatus
Date
Msg-id 4CA2FDF0.5090104@lelarge.info
Whole thread Raw
In response to pgAdmin III commit: Fix log_statement query in frmStatus  (Guillaume Lelarge <guillaume@lelarge.info>)
List pgadmin-hackers
Le 29/09/2010 00:26, Guillaume Lelarge a écrit :
> Fix log_statement query in frmStatus
>
> log_statement cannot be true or false, it will depends on the work we gave you.
>

I don't know what went wrong with this commit message. Must be me being
too tired.

As I can't change it, I'll try to explain it a bit more here.

log_statement parameter is of type boolean in 7.4, and was changed to
text/enum since 8.0. So, we got query error when we tried to disable log
statements in the server status window. The patch fixes this by changing
the query we execute wrt the PostgreSQL release.


--
Guillaume
 http://www.postgresql.fr
 http://dalibo.com

pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix the CHANGELOG file.
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix the double line number in the function props