Search code examples
pgadminpgadmin-4

How to avoid refreshing the page when executing queries on pgAdmin4


The button to execute queries F5 is the same key used to refresh a browser.

Since pgAdmin4's GUI is on a web browser now, sometimes instead of executing a query, i end up refreshing the page and losing all my queries/open databases ect.

Even though i started saving my most common queries for when this happens, it is getting pretty annoying having to open up all the databases i commonly use and pasting all my queries back in.

Does anyone know if theres away to stop F5 from refreshing the page? Is there a way for me to set it to ask me before refreshing pgAdmin's GUI?

How do you guys avoid this issue?


Solution

  • Looks like on version 4.2 they released a fix so it does not just refresh the page.

    Bug #3849 - Ensure that browser should warn before close or refresh.