Murtuza Zabuawala
881d2a60a4
Fix an exception that could occur when the browser pings the server following a restart. Fixes #1707
2016-09-19 15:57:52 +01:00
Murtuza Zabuawala
2440f89a71
Fix an issue where the edit icon vanished and the default tab wasn't shown when advanced-editing a column in the table dialogue. Fixes #1704
2016-09-19 15:37:04 +01:00
Surinder Kumar
cc0cb83277
Resolve a syntax error when updating packages with no body. Fixes #1588
2016-09-19 15:33:19 +01:00
Murtuza Zabuawala
82d63804c1
Resolve a refresh issue when updating packages. Fixes #1625
2016-09-19 09:41:13 +01:00
Murtuza Zabuawala
fc5ce22de9
Allow creation of objects in schemas with special chars in the name. Fixes #1598
...
This was caused through generation of SQL based on HTML-escaped labels, not the raw versions.
2016-09-16 17:02:57 +01:00
Murtuza Zabuawala
c044af9585
Bulk delete rows in SlickGrid. Fixes #1696
2016-09-16 16:46:58 +01:00
Murtuza Zabuawala
c5f04d03c6
Fix an issue where several default privileges cause error on database. Fixes #1670
2016-09-16 16:06:29 +01:00
Surinder Kumar
92bc312d2d
Fix updating of matview definitions. Fixes #1595
2016-09-16 15:41:07 +01:00
Magnus Hagander
ce20dbc25a
Add classid filter to queries on pg_depend. Fixes #1705
...
There are a number of cases where queries in both pgadmin4 and pgadmin3 are done against pg_depend but falis to constrain the query on classid.
In particular, if for example a constraint and a sequence exists with the same oid (which is perfectly valid, as they are in different tables), a column will suddenly refer sequences that are completely incorrect. When we look up sequences, we have to make sure we only match dependencies against pg_class.
2016-09-16 11:24:54 +01:00
Surinder Kumar
165b93a968
Fix a syntax error when creating a trigger function on PPAS 9.5+. Fixes #1600
2016-09-16 11:12:41 +01:00
Surinder Kumar
1ce5b38f4a
Fix an issue when changing the length of a column in the table dialogue. Fixes #1669
2016-09-16 11:09:13 +01:00
Ashesh Vashi
2f32427c59
Fix an issue in the Query Tool which causes it to hang in some installations of Chrome 53.0.2785.116 on Mac.
...
This commit also modifies the Query Tool to load SlickGrid using require.js.
2016-09-16 10:18:49 +01:00
Surinder Kumar
016de5dc88
Fix scrolling in the query tool editor. Fixes #1579
2016-09-15 10:15:00 +01:00
Ashesh Vashi
c48e8d415b
The Switch Dependency Cell, implemented in schema module, has a special
...
case. Its purpose is now to handle certain scinarios specific to table
children modules.
Renamed it to 'TableChildSwitchCell' from 'SwitchDepCell' to avoid any
conflict in future.
2016-09-15 13:36:56 +05:30
Navnath Gadakh
d3d8836f61
Introduce a test config database for the regression tests, and track/remove objects that are created during testing.
2016-09-14 16:26:12 +01:00
Murtuza Zabuawala
3807ba047b
Don't have the query tool try to load arrow_right_spearmint.png. Fixes #1693
2016-09-14 16:12:49 +01:00
Dave Page
fcc81d32cc
Fix condition check for avoiding sorting of columns.
2016-09-14 12:33:54 +01:00
Murtuza Zabuawala
db7b8a8fa5
Don't disable the save button when executing a query in the query tool. Fixes #1695
2016-09-14 11:22:54 +01:00
Surinder Kumar
3035ae13df
Fix CMD+V (Paste) in the Mac runtime. Finally fixes #1478
2016-09-14 11:17:34 +01:00
Murtuza Zabuawala
4ba8f4830b
Don't sort columns (tables, views, matviews, catalogs etc) on the treeview by name, but by ordinal. Fixes #1687
2016-09-14 11:13:50 +01:00
Surinder Kumar
2ee631d6fc
Remove blank lines in the formatting of SELECT scripts for functions. Fixes #1690
2016-09-14 11:08:10 +01:00
Surinder Kumar
f2469d113c
Fix function signature generation for reverse engineered SQL. Fixes #1674
...
1) In SQL pane, the signature in comments had arguments with name and type, Now it will show arguments with type only.
2) There is no indent+newline between arguments (there isn't even a space). - Fixed
3) The default value for the last argument is omitted. - Fixed
Last argument is omitted because the value for the last argument we got from table is empty.
Now we form function signature in the get_definition.sql using 'pg_catalog.pg_get_function_arguments' method.
Above changes will reflect in Functions, Procedures & Trigger function Nodes.
2016-09-14 10:59:11 +01:00
Murtuza Zabuawala
751327eacc
Ensure View Data on a table with zero columns doesn't throw an error. Fixes #1677
2016-09-14 10:43:08 +01:00
Murtuza Zabuawala
046f6dd442
Fix creation of DO INSTEAD rules. Fixes #1681
2016-09-14 10:39:16 +01:00
Murtuza Zabuawala
a67c4fc1dc
Fix a typo in the error handling in the browser that caused some errors to be reported to the console only.
2016-09-14 10:33:41 +01:00
Murtuza Zabuawala
071b609a44
Fix error when refreshing table node. Fixes #1686
2016-09-14 10:30:02 +01:00
Dave Page
d848e9cefe
Use SSL when loading Gravatar icons. Fixes #1694
2016-09-13 13:39:26 +01:00
Surinder Kumar
f2ed6fa4dd
Fix function signature generation. Fixes #1683
2016-09-12 15:20:46 +01:00
Murtuza Zabuawala
ffc58b74d2
Allow viewing of long data values in the grid. Fixes #1672
2016-09-12 12:39:40 +01:00
Surinder Kumar
28b7a033bc
Prevent creation of packages and rules in catalogs. Fixes #1682
2016-09-12 11:37:25 +01:00
Surinder Kumar
7cfcf14312
Move the declaration of a variable into the correct scope.
2016-09-09 14:50:51 +01:00
Murtuza Zabuawala
42e19d2169
Fix error highlighting, broken in d6391c7e9b
. Fixes #1676
2016-09-09 14:45:03 +01:00
Murtuza Zabuawala
982c291a31
Confirm loss of changes with the user before clearing the query or history, or opening a new file in the Query Tool. Fixes #1666
2016-09-08 09:12:48 +01:00
Surinder Kumar
f13de8b86b
Ensure the query tool editor has focus when the tab is selected or when first shown so the user can immediately type/execute. Fixes #1581
2016-09-07 16:20:47 +01:00
Murtuza Zabuawala
35d3c396de
Fix SQL generation for functions that return SETOF ... Fixes #1631
2016-09-07 14:53:22 +01:00
Surinder Kumar
da21cabb1e
Fix typo in connection handler.
2016-09-07 14:01:56 +01:00
Dave Page
bd139bc83e
Improve binary path settings hint.
2016-09-07 09:54:54 +01:00
Ashesh Vashi
2540e9687f
Fixed some of the javascript syntax in menu.js
2016-09-06 23:20:38 +05:30
Ashesh Vashi
aeaa4bcad1
Add an object in an parent properly, which was expanded earlier, and do
...
not have any child withing it.
Fixes #1481 , #1627 .
2016-09-06 23:20:38 +05:30
Murtuza Zabuawala
679ad6fca8
Support range types in the query tool. Fixes #1658
2016-09-06 14:26:43 +01:00
Murtuza Zabuawala
1b75679ec4
Python 2.6 fixes. Fixes #1636 . Fixes #1659
2016-09-06 14:07:30 +01:00
Ashesh Vashi
8ac65070bc
Improve the logic for Bad handling of missing connection database server RM #1387
2016-09-06 15:35:20 +05:30
Murtuza Zabuawala
8b61aa49d0
Warn the user about unsaved changes to SQL or data before closing the query tool. Fixes #1661
2016-09-05 17:18:43 +01:00
Surinder Kumar
3dace5ff22
Fix file navigator to properly show drives in Windows. Fixes #1665
2016-09-05 17:07:07 +01:00
Murtuza Zabuawala
15df12c924
Highlight invalid rows when saving data in the edit grid. Fixes #1637
2016-09-02 16:05:00 +01:00
Murtuza Zabuawala
f3f7413701
Use ISO formatted dates when setting rolvaluntil. Fixes #1153
2016-09-02 15:24:34 +01:00
Murtuza Zabuawala
087332f32e
Fix the boolean editor, and warn the user if there are unsaved changed in the edit grid before refreshing.
2016-09-01 11:50:48 +01:00
Neel Patel
8dca4b0e0b
Fixed an syntantical issue, which was not supported by QtWebkit.
...
The issue was regression of the patch for the 'SlickGrid'.
Fixes #1621
2016-08-30 14:43:50 +05:30
Ashesh Vashi
f7dd8cbab4
Bump version for RC1 release
2016-08-29 20:37:44 +05:30
Murtuza Zabuawala
c56e4667df
SlickGrid Integration in to query tool. Fixes #1618
2016-08-29 20:17:01 +05:30