Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

"Dangerous" hotkey in server status dialog


  • From: Magnus Hagander <magnus(at)hagander(dot)net>
  • To: pgadmin-hackers(at)postgresql(dot)org
  • Subject: "Dangerous" hotkey in server status dialog
  • Date: Thu, 31 Jul 2008 16:50:59 +0200
  • Message-id: <4891D153.9090204@hagander.net> <text/plain>

If you select a row in the server status dialog and hit escape, pgadmin
will ask to cancel the query.

On every platform I've worked on, escape means close the dialog, not
actually do something.

I think this is becuase we are using wxID_CANCEL, which is the default
mapping there. I think the proper solution is to invent our own id
instead. Same for the one under locks. I can't see any reason why we're
overloading this with the default behaviours.

I'd go as far as calling this a bug and say we should probably backpatch
a fix ;-)

Comments?

//Magnus




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group