Commit Graph

6139 Commits

Author SHA1 Message Date
Ansgar Becker
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
Ansgar Becker
9c0d093f2d Fix sql error(2007) Malformed packet, happening on MariaDB-versions of libmysql. Prefer MySQL 5.6.21 versions now. See http://www.heidisql.com/forum.php?t=13454 2014-11-01 12:53:29 +00:00
Ansgar Becker
dadb8c989e Remove unused variable 2014-11-01 12:10:01 +00:00
Ansgar Becker
4ec81e42d4 Bugfix: Remember currently checked items when clicking "Sort alphabetically", or when filter is active 2014-10-31 16:55:55 +00:00
Ansgar Becker
13799998d8 Remove obsolete readme file, now online at http://www.heidisql.com/help.php 2014-10-28 19:34:24 +00:00
Ansgar Becker
b839bf7f79 Add missing TDBConnection.IsPostgreSQL method, used in previous commit. 2014-10-27 19:49:52 +00:00
Ansgar Becker
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
Ansgar Becker
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
Ansgar Becker
371421cb06 Detect PostgreSQL column types #26 (oid) and #28 (xid) as integers 2014-10-26 11:00:02 +00:00
Ansgar Becker
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
Ansgar Becker
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
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
2ee5aa43a5 Update year of copyright 2014-10-14 17:58:04 +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
6617132cb2 Enhance translation hints 2014-10-08 19:49:22 +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
e6d0eb20c3 Update libmysql again to those from the MariaDB 10.0.14 package. Probably fixes a connection latency, described in http://www.heidisql.com/forum.php?t=16425 2014-10-04 16:10:31 +00:00
Ansgar Becker
b6292da965 Overseen file for previous commit 2014-10-03 12:40:32 +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
c22258ec92 Enhance translation hint 2014-10-03 10:00:27 +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