pgAdmin III commit: Fix the copy of a query when application_name is un - Mailing list pgadmin-hackers

From Guillaume Lelarge
Subject pgAdmin III commit: Fix the copy of a query when application_name is un
Date
Msg-id E1Rz4es-0001YJ-QG@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
Fix the copy of a query when application_name is unset

The copy of a query tris to fetch the database name, so that when we launch
the query tool, we connect to the right database. Since 9.0, with the addition
of the application_name column, database is not anymore column 1, but column
2, when the user is connected to 9.0+ database. So, when we fetch the database
name, we need to look into the right column.

Branch
------
master

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

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


pgadmin-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Fix the copy of a query when application_name is un
Next
From: Guillaume Lelarge
Date:
Subject: pgAdmin III commit: Correctly save the position of a pgDialog