Version 1.6 — pgAdmin 4 3.0 documentation

# Version 1.6

Release date: 2017-07-13

This release contains a number of features and fixes reported since the release of pgAdmin4 1.5

## Features

Feature #1344 - Allow the Query Tool, Debugger and web browser tabs to be moved to different monitors as desired
Feature #1533 - Set focus on the first enabled field when a dialogue is opened
Feature #1535 - Teach dialogues about Escape to cancel, Enter to Save/OK, and F1 for help
Feature #1971 - Retain column sizing in the query tool results grid when the same query is re-run multiple times in a row
Feature #1972 - Prompt the user to save dirty queries rather than discard them for a more natural workflow
Feature #2137 - On-demand loading for the query tool results
Feature #2191 - Add support for the hostaddr connection parameter. This helps us play nicely with Kerberos/SSPI and friends
Feature #2282 - Overhaul the query history tab to allow browsing of the history and full query text
Feature #2379 - Support inserting multiple new rows into a table without clicking Save for each row
Feature #2485 - Add a shortcut to reset the zoom level in the runtime
Feature #2506 - Allow the user to close the dashboard panel
Feature #2513 - Add preferences to enable brace matching and brace closing in the SQL editors

## Bug fixes

Bug #1126 - Various FTS dictionary cleanups
Bug #1229 - Fix default values and SQL formatting for event triggers
Bug #1466 - Prevent attempts to debug procedures with variadic arguments
Bug #1525 - Make $ quoting consistent
Bug #1575 - Properly display security labels on EPAS 9.2+
Bug #1795 - Fix validation for external and range types
Bug #1813 - List packages in PPAS 9.2-9.4 when creating synonyms
Bug #1831 - Fix server stats display for EPAS 9.2, where inet needs casting to text for concatenation
Bug #1851 - Reverse engineer SQL for table-returning functions correctly
Bug #1860 - Ensure default values are honoured when adding/editing columns
Bug #1888 - Fix various issues with pgAgent job steps and schedules
Bug #1889 - Fix various issues with pgAgent job steps and schedules
Bug #1890 - Fix various issues with pgAgent job steps and schedules
Bug #1920 - Ensure saved passwords are effective immediately, not just following a restart when first saved
Bug #1928 - Fix the handling of double precision[] type
Bug #1934 - Fix import/export to work as expected with TSV data
Bug #1999 - Handle warning correctly when saving query results to an unmounted USB drive
Bug #2013 - Increase the default size of the Grant Wizard to enable it to properly display privileges at the default size on smaller displays
Bug #2014 - To fix unexpected behaviour displayed if user stops debugging on package/procedure fire_emp
Bug #2043 - Properly handle trigger functions with parameters
Bug #2078 - Refresh the SQL editor view on resize to ensure the contents are re-rendered for the new viewport
Bug #2086 - Allow editing of the WITH ADMIN option of role membership
Bug #2113 - Correct the validation logic when modifying indexes/exclusion constraints
Bug #2116 - Enable dialogue help buttons on Language and Foreign Table dialogues
Bug #2142 - Fix canceling of Grant Wizard on Windows
Bug #2155 - Fix removal of sizes from column definitions
Bug #2162 - Allow non-superusers to debug their own functions and prevent them from setting global breakpoints
Bug #2242 - Fix an issue in NodeAjaxControl caching with cache-node field and add cache-node field in Trigger & Event trigger node so that whenever the user creates new Trigger Function we get new data from server in NodeAjaxControl
Bug #2280 - Handle procedure flags (IMMUTABLE STRICT SECURITY DEFINER PARALLEL RESTRICTED) properly in RE-SQL on EPAS
Bug #2324 - Fix the PostGIS Datatypes in SQL tab, Create / Update dialogues for Table, Column, Foreign Table and Type node
Bug #2344 - Fix issue with ctrl-c / ctrl-v not working in query tool
Bug #2348 - Fix issue when resizing columns in Query Too/View Data where all row/colums will select/deselect
Bug #2355 - Properly refresh the parent node when renaming children
Bug #2357 - Cache statistics more reliably
Bug #2381 - Fix the RE-SQL for for views to properly qualify trigger function names
Bug #2386 - Display and allow toggling of trigger enable/disable status from the trigger dialogue
Bug #2398 - Bypass the proxy server for local addresses on Windows
Bug #2400 - Cleanup handling of default/null values when data editing
Bug #2414 - Improve error handling in cases where the user tries to rename or create a server group that would duplicate an existing group
Bug #2417 - Order columns in multi-column pkeys correctly
Bug #2422 - Fix RE-SQL for rules which got the table name wrong in the header and DROP statement
Bug #2425 - Handle composite primary keys correctly when deleting rows in the Edit Grid
Bug #2426 - Allow creation of ENUM types with no members
Bug #2427 - Add numerous missing checks to ensure objects really exist when we think they do
Bug #2435 - Pass the database ID to the query tool when using the Script options
Bug #2436 - Ensure the last placeholder is included when generating UPDATE scripts for tables
Bug #2448 - Ensure that boolean checkboxes cycle values in the correct order
Bug #2450 - Fix error on the stats tab with PG10. Also, rename the 10.0_plus template directory to 10_plus to match the new versioning
Bug #2461 - Allow users to remove default values from columns properly
Bug #2468 - Fix issue where function create script won’t compile
Bug #2470 - Fix an intermittent error seen during result polling
Bug #2476 - Improvements to the Query Results grid including improvements to the UI and allow copy/paste from sets of rows, columns or arbitrary blocks of cells
Bug #2477 - Ensure text editors render in an appropriate place on the results grid
Bug #2479 - No need for the menu icon to link to the homepage, as pgAdmin is a SPA
Bug #2482 - Use a more sensible name for Query Tool tabs
Bug #2486 - Ensure the feature tests use the correct test settings database
Bug #2487 - Maintain a client-side cache of preference values, populated using an async call
Bug #2489 - Fix clipboard handling with large datasets
Bug #2492 - Ensure the initial password is properly hashed during setup in web mode
Bug #2498 - Properly handle bytea[], and ‘infinity’::real/real[]
Bug #2502 - Properly handle bytea[], and ‘infinity’::real/real[]
Bug #2503 - Handle missing/dropped synonyms gracefully
Bug #2504 - Update MatView and pgAgent modules to work with recent integer/numeric changes
Bug #2507 - Ensure revoked public privileges are displayed in the RE-SQL for functions
Bug #2518 - Fix encoding issue when saving servers
Bug #2522 - Improve speed of Select All in the results grid
Bug #2527 - Fix deletion of table rows with the column definition having NOT NULL TRUE and HAS NO DEFAULT VALUE
Bug #2528 - Allow breakpoints to be set on triggers on views
Bug #2529 - Resolve a number of issues with domains and domain constraints
Bug #2532 - Refresh nodes correctly when there is a single child that is updated
Bug #2534 - Fix handling of CREATE TABLE OF <type>
Bug #2535 - Fix clear history functionality
Bug #2540 - Ensure the save password option is enabled when creating a server