pgAdmin III commit: Fix the copy of a query when application_name is un

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: pgadmin-hackers(at)postgresql(dot)org
Subject: pgAdmin III commit: Fix the copy of a query when application_name is un
Date: 2012-02-19 11:10:22
Message-ID: E1Rz4es-0001YJ-QG@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Guillaume Lelarge 2012-02-19 23:10:08 pgAdmin III commit: Correctly save the position of a pgDialog
Previous Message pgAdmin Trac 2012-02-17 22:29:21 Re: [pgAdmin III] #355: "\copy" equivalent