Commit Graph

3319 Commits

Author SHA1 Message Date
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
f0fc3e428b Fix typos 2014-10-19 09:45:44 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
6ac52567af Call more useful online help by "Help" button on table editor 2014-10-16 12:27:50 +00:00
Ansgar Becker
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
Ansgar Becker
9cc5fc6aaf Turn readme.txt into a more comprehensive online help document 2014-10-13 18:49:59 +00:00
Ansgar Becker
176445e6c5 Remove unused variable 2014-10-09 17:18:37 +00:00
Ansgar Becker
cf72ee2953 Add filter textbox to column selector in "Data" tab 2014-10-09 17:14:34 +00:00
Ansgar Becker
0e4131cde4 Fix wrong comment 2014-10-06 16:59:51 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
e5f2499795 Support query cancel button on PostgreSQL. See http://www.heidisql.com/forum.php?t=16402 2014-10-02 18:13:52 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
d1b0c27d51 Fix unsupported AFTER/FIRST clause in ALTER TABLE ADD COLUMN... query on PostgreSQL 2014-08-30 14:30:44 +00:00
Ansgar Becker
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
Ansgar Becker
af551c8d53 PostgreSQL does not need a LIKE clause tail like MSSQL does. 2014-08-26 18:06:33 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
3d1e40f91a Remove unused variables 2014-08-17 15:08:04 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
7e986208eb Enable foreign keys editor on NDB cluster >= 7.3.x. See http://www.heidisql.com/forum.php?t=16059 2014-07-26 14:29:55 +00:00
Ansgar Becker
07bdeea79f Catch date/time conversion errors in GetDateTimeValue, which happen e.g. when passing an empty date. 2014-07-26 14:14:38 +00:00
Ansgar Becker
956ea205eb Call GetDateTimeValue for all temporal types on all server versions. 2014-07-26 14:13:40 +00:00
Ansgar Becker
8469c68229 MSSQL: Return date/time string value as expected by server. See http://www.heidisql.com/forum.php?t=15925 2014-07-12 12:25:19 +00:00
Ansgar Becker
7e486aeb45 Avoid inclusion of keys, foreign keys, partition clauses and whatever as additional columns in ParseTableStructure. See http://www.heidisql.com/forum.php?t=15960 2014-07-06 15:06:24 +00:00
Ansgar Becker
f1625e064f PQPing() is not made to ping an existing connection. Send an empty query instead. Fixes issue #3570. 2014-07-05 09:36:56 +00:00
Ansgar Becker
aa8258f1a1 Fix detection of column name identifier in ParseTableStructure. Fixes issue #3585. 2014-07-05 09:09:58 +00:00
Ansgar Becker
463e95d1ce Fix SQL error when using "Quick filter" > "More values" in MSSQL and PostgreSQL. Fixes issue #3575. 2014-06-19 05:21:20 +00:00
Ansgar Becker
9c0daf0ef3 Use prettier "Consolas" as default font for TSynMemo editors, when available, as an alternative to the old-stylish "Courier New". 2014-06-17 04:41:06 +00:00
Ansgar Becker
f280a1f233 Rename "Cancel" button on update check dialog to "Skip" when displayed right after application start. Fixes issue #3584. 2014-06-16 16:57:52 +00:00