3329 Commits

Author SHA1 Message Date
f832178eec Allow applying CURRENT_TIMESTAMP to DATETIME columns. See http://www.heidisql.com/forum.php?t=16715 2014-11-02 13:33:25 +00:00
418dec3adf Sort columns by attnum. Fixes wrong order of column names in data grid. See http://www.heidisql.com/forum.php?t=16747 2014-11-02 12:55:29 +00:00
dadb8c989e Remove unused variable 2014-11-01 12:10:01 +00:00
4ec81e42d4 Bugfix: Remember currently checked items when clicking "Sort alphabetically", or when filter is active 2014-10-31 16:55:55 +00:00
b839bf7f79 Add missing TDBConnection.IsPostgreSQL method, used in previous commit. 2014-10-27 19:49:52 +00:00
3d29d13b42 PostgreSQL, table editor: Retrieve columns from pg_attribute, to get the column comments. Also support applying a comment on new and existing columns. 2014-10-27 19:42:56 +00:00
aade1a9abc Add support for MSSQL datetime2 column type. See http://www.heidisql.com/forum.php?t=16708 2014-10-26 11:38:27 +00:00
371421cb06 Detect PostgreSQL column types #26 (oid) and #28 (xid) as integers 2014-10-26 11:00:02 +00:00
2a6c891654 Introduce handling of stored functions in PostgreSQL: Displays functions in database browser, enables function editor and "run routine" button with argument handling. 2014-10-26 10:39:58 +00:00
68704bb8fd PostgreSQL: Query pg_constraint + pg_attribute instead of IS.TABLE_CONSTRAINTS + IS.KEY_COLUMN_USAGE for keys and their column names. See http://www.heidisql.com/forum.php?t=16213 2014-10-24 17:53:42 +00:00
2882e4f2bb Prefer pg_catalog tables in TDBConnection.GetCreateCode. See http://www.heidisql.com/forum.php?t=16213#p16685 2014-10-21 18:23:35 +00:00
10f4d255a5 MSSQL: Return float values as expected by server. See http://www.heidisql.com/forum.php?t=16661 2014-10-19 11:00:31 +00:00
92543c3098 Keep compatibility with older MySQL servers when getting a trigger's CREATE CODE. See here: http://www.heidisql.com/forum.php?t=16662 2014-10-19 10:07:20 +00:00
f0fc3e428b Fix typos 2014-10-19 09:45:44 +00:00
a0e48733dc Query pg_namespace table for getting all schemata instead of is.schemata. See http://www.heidisql.com/forum.php?t=16213 2014-10-17 07:51:03 +00:00
464a1261b8 Support DEFAULT clause in PostgreSQL table structure. See http://www.heidisql.com/forum.php?t=16622 2014-10-16 18:51:48 +00:00
c4418294a1 Make overloaded TDBConnection.IsNull(String) case insensitive for column names. Important for IS queries, which have uppercase column names in MySQL, and lowercase names in PostgreSQL. 2014-10-16 18:50:17 +00:00
d2f3662626 Restrict column reordering to MySQL only. Not supported by MSSQL and PostgreSQL. See http://www.heidisql.com/forum.php?t=16328 2014-10-16 18:09:03 +00:00
6ac52567af Call more useful online help by "Help" button on table editor 2014-10-16 12:27:50 +00:00
a966ec7267 Unify help calls in helpers.Help(), and pass sending control for "place" parameter in help url. 2014-10-16 08:02:06 +00:00
9cc5fc6aaf Turn readme.txt into a more comprehensive online help document 2014-10-13 18:49:59 +00:00
176445e6c5 Remove unused variable 2014-10-09 17:18:37 +00:00
cf72ee2953 Add filter textbox to column selector in "Data" tab 2014-10-09 17:14:34 +00:00
0e4131cde4 Fix wrong comment 2014-10-06 16:59:51 +00:00
ecdf49b85d Include SQL_TABLE_VALUED_FUNCTION's in MSSQL object browsing. See http://www.heidisql.com/forum.php?t=16493 2014-10-06 16:58:04 +00:00
a36c92d2f2 Get trigger code from SHOW CREATE TRIGGER instead of using SHOW TRIGGERS, to fix a single quote escaping bug. See http://www.heidisql.com/forum.php?t=16501 2014-10-03 12:22:38 +00:00
e5f2499795 Support query cancel button on PostgreSQL. See http://www.heidisql.com/forum.php?t=16402 2014-10-02 18:13:52 +00:00
6f6c594bd7 Switch character set from utf8 to the fixed one called utf8mb4 in MySQL. Attempt to still use utf8 when that newer charset does not exist in the client library. At the same time, update libmysql to v2.0 from https://downloads.mariadb.org/client-native/2.0.0/ . See http://www.heidisql.com/forum.php?t=16425 2014-09-29 18:48:59 +00:00
f6f526e1e7 Quote schema and table name in TPGConnection.FetchDbObjects. Fixes empty tables list. See http://www.heidisql.com/forum.php?t=16429 2014-09-27 14:00:25 +00:00
dac243ab9e Fix division by zero crash when SQL server reports an empty string from SELECT SERVERPROPERTY('ProductVersion'). See http://www.heidisql.com/forum.php?t=16369 2014-09-18 15:55:35 +00:00
4f0355ee27 Ask user to confirm unsafe UPDATEs/DELETEs in query tab before executing. See http://www.heidisql.com/forum.php?t=16315
TODO: Add checkbox option to turn this on again once having silenced the message box.
2014-09-16 19:16:13 +00:00
ce6d525d35 Fix displaying "20.14" server version on SQL Server 2014. Try to get more exact version with SELECT SERVERPROPERTY('ProductVersion') on 2008 and newer servers. See http://msdn.microsoft.com/de-de/library/ms174396.aspx . 2014-09-13 11:15:24 +00:00
f56764522d Fix EStackOverflow in TSynHashEntry.AddEntry when adding too many table names. See http://www.heidisql.com/forum.php?t=16307 2014-09-10 18:35:35 +00:00
72d1073fed Support renaming tables and views on PostgreSQL. See http://www.heidisql.com/forum.php?t=16305 2014-09-10 18:20:10 +00:00
c70320a5ba Restrict regular expression in TDBConnection.GetDatatypeByName to very left characters, so it does not detect "ENUM('text','...') DEFAULT 'text'" columns as TEXT type. See http://www.heidisql.com/forum.php?t=16271 2014-09-04 16:11:16 +00:00
ea4701f73f Introduce a UNKNOWN data type in PostgreSQL, so we don't fall into a SQL error when opening the data grid with a SUBSTR() call on a non-text column, for example USER-DEFINED/GEOMETRY(POINT). 2014-08-31 09:25:38 +00:00
d1b0c27d51 Fix unsupported AFTER/FIRST clause in ALTER TABLE ADD COLUMN... query on PostgreSQL 2014-08-30 14:30:44 +00:00
3886bee7e3 Add support for BOOLEAN column data type in PostgreSQL. See http://www.heidisql.com/forum.php?t=16072#p16204 2014-08-30 14:15:13 +00:00
af551c8d53 PostgreSQL does not need a LIKE clause tail like MSSQL does. 2014-08-26 18:06:33 +00:00
6e4de241a5 Fix UPDATE + DELETE queries in data grid for PostgreSQL, which do not support a LIMIT clause. 2014-08-26 18:04:35 +00:00
17d2861a8c Add support for geometry data types in PostgreSQL. See http://www.heidisql.com/forum.php?t=16072#p16198 2014-08-26 17:45:37 +00:00
5506e385ae Introduce TPgConnection.GetCharsetTable, forgotten to implement yet. Fixes a crash in text import dialog.
* User report: http://www.heidisql.com/forum.php?t=16181
* Ticket at 2ndquadrant: https://support.2ndquadrant.com/rt/SelfService/Display.html?id=37948
2014-08-25 17:33:37 +00:00
e7ed0dbf02 Support BIT and BIT VARYING data types in PostgreSQL without SQL errors in Data tab. See http://www.heidisql.com/forum.php?t=16072#p16180 2014-08-24 17:24:04 +00:00
c153cba271 Fix duplicated tables in database view on PostgreSQL. See http://www.heidisql.com/forum.php?t=16179#p16179 2014-08-22 14:56:42 +00:00
3a169b8a27 Support data types with spaces in them, for example "DOUBLE PRECISION" on PostgreSQL. See http://www.heidisql.com/forum.php?t=16072#p16169 2014-08-21 18:14:37 +00:00
cf1a4270fc Use SUBSTR() alternative to LEFT() on PostgreSQL table data selection. See http://www.heidisql.com/forum.php?t=16072 2014-08-20 17:26:16 +00:00
3d1e40f91a Remove unused variables 2014-08-17 15:08:04 +00:00
ad2b4667bd Support older PostgreSQL servers in TPGConnection.FetchDbObjects. See http://www.heidisql.com/forum.php?t=16072#p16138 2014-08-17 10:09:06 +00:00
2a4a23a19b Restrict disabling foreign keys to MySQL when dropping objects. See http://www.heidisql.com/forum.php?t=7025#p16142 2014-08-17 10:00:46 +00:00
be988526bd * Do not use the "Databases" setting for the db tree, just use it to set the single db name in PostgreSQL mode.
* Use "postgres" as default db (was "template1")
* Turn checkable dropdown menu items into radio items in PostgreSQL mode
See issue #3190 and http://www.heidisql.com/forum.php?t=16072
2014-08-10 16:08:43 +00:00