pgAdmin III commit: Fix setting of parameters in frmStatus

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Fix setting of parameters in frmStatus
Date: 2011-03-29 14:08:59
Message-ID: 201103291408.p2TE8xjN066073@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Fix setting of parameters in frmStatus

log_statement, log_duration, and log_min_duration_statement are superuser
settings. If the user is not a superuser, the SET statement will fail. Better
not execute a query that will fail :)

Branch
------
REL-1_12_0_PATCHES

Details
-------
http://git.postgresql.org/gitweb?p=pgadmin3.git;a=commitdiff;h=1183ef5e61989e79b9200517822f392bb27054b7

Modified Files
--------------
CHANGELOG | 1 +
pgadmin/frm/frmStatus.cpp | 40 +++++++++++++++++++++++++++++-----------
2 files changed, 30 insertions(+), 11 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2011-03-29 15:56:01 pgAdmin III commit: Ignore .pngc files.
Previous Message Guillaume Lelarge 2011-03-29 08:07:59 pgAdmin III commit: Few fixes of the french translation.