380 Commits

Author SHA1 Message Date
ce444cbfe4 Try to load libpq.dll with explicit file path if the path-less did not succeed. See http://www.heidisql.com/forum.php?t=22514 2016-11-20 21:20:41 +00:00
7bd29f0bac Cast unknown data type columns as text when generating a multi column filter from user input. See http://www.heidisql.com/forum.php?t=22562 2016-11-01 16:52:30 +00:00
aa373aaaba Use the right SQL commands for killing a process on PostgreSQL. See http://www.heidisql.com/forum.php?t=21760 2016-10-31 17:53:25 +00:00
1e03f4b0b5 Remove quirky logic from TMySQLQuery.Execute when distinguishing between text and binary data types. See http://www.heidisql.com/forum.php?t=22441 2016-10-24 19:34:07 +00:00
55342752b6 Move plink.exe path to lpCommandLine parameter instead of passing it as lpApplicationName. This way, a folderless plink.exe call should use the first available one from the path environment. See http://www.heidisql.com/forum.php?t=21873 2016-08-11 15:17:08 +00:00
c23015613a Use exact text data types instead of their whole category for detecting special binary columns. Fixes unquoted JSON content in SQL exports. See http://www.heidisql.com/forum.php?t=20655 2016-07-19 17:38:34 +00:00
a3853b5d6c Propagate changed list of object names in selected database through the new event OnObjectnamesChanged to the owner object, not through an internal reference to a string list. 2016-06-18 07:24:41 +00:00
75fecfd3dd MySQL/MariaDB: Implement support for expired passwords. Show a change-password dialog after the very first query of a connection when it returns "Error 1820: You must SET PASSWORD before executing this statement". See http://www.heidisql.com/forum.php?t=17921 2016-06-13 17:59:05 +00:00
67a30de7bb Display network type in tooltip over server status panel. See http://www.heidisql.com/forum.php?t=21556 2016-06-09 20:16:56 +00:00
45d74f2a0e Trim database names when passed as semicolon separated list. See http://www.heidisql.com/forum.php?t=21505 2016-06-07 18:10:38 +00:00
3641a180e4 Rewind result set for column comments before iterating over it, as it's an inner loop. See http://www.heidisql.com/forum.php?t=21504 2016-06-07 18:03:34 +00:00
9754d5d3b2 Fix EArgumentOutOfRangeException in TDBConnection.PrefetchResults when SQL batch could not be separated correctly. Should be a rare case, but happened, see http://www.heidisql.com/forum.php?t=21380 2016-05-24 16:14:22 +00:00
23b2d8badd Fix wrong FLOAT data type mapping between DB.TFieldType and TDBDatatypeIndex, in TAdoDBQuery.Execute. See http://www.heidisql.com/forum.php?t=21306 2016-05-23 18:55:26 +00:00
909cd70388 Missing file for r5073: BIT column syntax. See http://www.heidisql.com/forum.php?t=20333 2016-05-06 16:01:16 +00:00
558a0f9e3f Fix "Database(s)" string split by space characters. Allow semicolon only. See http://www.heidisql.com/forum.php?t=21080 2016-05-06 15:56:58 +00:00
6fae579775 Overcome 4000 character limit in IS.VIEW_DEFINITION. See http://www.heidisql.com/forum.php?t=21097 2016-04-17 13:31:50 +00:00
2410e3c8af Display the version of libpq.dll in the status bar's balloon hint with server details, using PQlibVersion(). 2016-04-10 10:27:38 +00:00
91cefe7c5e Update all PostgreSQL libraries, add missing libiconv-2.dll, unify filename of 32bit version of libintl.dll (=> libintl-8.dll), and finally revert the previous 3 commits, which hopefully are not required with these updates. See http://www.heidisql.com/forum.php?t=21039 2016-04-08 16:26:00 +00:00
4645c38bc2 Load libpq.dll after just checking if it exists. Do not check what LoadLibrary returns. This is quite risky, but there seem to be cases where LoadLibrary returns 0 although libpq.dll was loaded. See http://www.heidisql.com/forum.php?t=21039 2016-04-06 05:03:58 +00:00
cd35370f1d Attempt to add a helpful error message to the error dialog when libpq.dll was not loaded. http://www.heidisql.com/forum.php?t=21039 2016-04-05 05:04:02 +00:00
bdddc726b4 Load libpq.dll with full path, so the LoadLibrary does not accidentally take a different (probably wrong) one from somewhere else than the current directory. See http://www.heidisql.com/forum.php?t=21039 2016-04-04 18:18:59 +00:00
bd63325a9f MSSQL: Work around multiple results from a single query, in case of a stored procedure for example. See http://www.heidisql.com/forum.php?t=21036 2016-04-04 17:25:12 +00:00
347ed4880e Add "SQL DELETEs/INSERTs" to grid export formats. See http://www.heidisql.com/forum.php?t=20929 2016-04-03 09:45:04 +00:00
bc70226565 MSSQL table names: Revert previous change in TAdoDBQuery.TableName and assign separate SQL strings earlier, in TAdoDBConnection.GetLastResults. Fixes wrong table name in "Send queries in one go" mode. See http://www.heidisql.com/forum.php?t=20979 2016-03-25 19:11:03 +00:00
693aeb3b39 Fix bug in TAdoDBQuery.TableName when multiple queries were executed. See http://www.heidisql.com/forum.php?t=20979 2016-03-25 10:08:42 +00:00
d0613c00f4 Support searching in procedures and functions on MSSQL and PostgreSQL mode too. 2016-03-13 10:22:27 +00:00
df18c98af8 Make keep-alive-interval customizable in "Advanced" tab on session manager. See http://www.heidisql.com/forum.php?t=20829 2016-03-05 18:36:44 +00:00
0121d55694 Support inline valued functions on MSSQL. See http://www.heidisql.com/forum.php?t=20186 2016-01-27 18:31:19 +00:00
8c5d9e0033 Fix unquoted and uncleaned numeric values in data grid updates and inserts. See http://www.heidisql.com/forum.php?t=20434 2016-01-20 19:36:25 +00:00
34f524686d Fix detection of virtual columns without "GENERATED ALWAYS" clause. See http://www.heidisql.com/forum.php?t=20248 2016-01-04 18:35:20 +00:00
a22a35b3ed Implement TPGQuery.TableName, so exporting grid rows get a table name when needed. E.g. for output format "SQL Inserts". See http://www.heidisql.com/forum.php?t=18946 and issue #3696. 2015-12-22 19:33:31 +00:00
62b7e41d43 Fix crash when opening completion proposal with only views in a database. 2015-12-15 19:08:34 +00:00
f3e6543820 MSSQL: Set textsize to a large value, so the view editor does not load partial code only. See http://www.heidisql.com/forum.php?t=19779#p19981 2015-11-30 10:25:25 +00:00
407bd83c84 Add virtual column syntax for MySQL, which seems to differ slightly from the MariaDB implementation. See http://www.heidisql.com/forum.php?t=19405#p19901 2015-11-20 16:43:22 +00:00
c890cf5172 Internally handle MySQL's native column types in an enumeration, not as constants. See mysql.h.pp in the MySQL server code. 2015-11-19 19:54:59 +00:00
424118a937 Fix non-working detection of indexes on PostgreSQL pre-9.0 servers. See http://www.heidisql.com/forum.php?t=18581 2015-11-12 16:58:02 +00:00
0f467ed167 Fix order in table column parsing, so that collation is expected before a virtual expression. See http://www.heidisql.com/forum.php?t=19405 2015-11-10 19:15:16 +00:00
a487d94bad Fix endless loop in retrieval of column comments on MSSQL. See http://www.heidisql.com/forum.php?t=19576#p19790 2015-11-07 12:44:21 +00:00
e19d803e64 Display column comments on MSSQL. See http://www.heidisql.com/forum.php?t=19576 2015-10-30 19:23:12 +00:00
7f02ee768c Use db.func instead of schema.func when schema is empty, on retrieving MSSQL routine structure. See http://www.heidisql.com/forum.php?t=19350#p19360 2015-09-16 05:49:14 +00:00
0f2931beb5 Introduce query caching in TDBConnection.PrefetchResults() and PrefetchCreateCode(). Read from that cache in TDBConnection.GetResults. This way we can prefetch mass queries fired for each object in a database, like in GetCreateCode() in one single batch query. See http://www.heidisql.com/forum.php?t=19350 2015-09-15 20:23:47 +00:00
b905c82c6c Session manager: Add support for SSL cipher, and add various texthints. See http://www.heidisql.com/forum.php?t=18908 2015-07-14 14:38:50 +00:00
2c75fa294e PostgreSQL: Always keep public schema in search path, so one can use procedures from it without prefixing. See http://www.heidisql.com/forum.php?t=18581#p18905 2015-07-14 09:16:22 +00:00
ef9dffd055 Use updated URL for MariaDB Explain analyzer, and encode semicolon in URL parameter. See http://www.heidisql.com/forum.php?t=18677 2015-06-24 17:30:39 +00:00
5b990def8f Prepend 'E' to escaped PostgreSQL strings. See http://www.heidisql.com/forum.php?t=18657 2015-06-18 18:21:50 +00:00
7d3b727042 Use server time for data grid > "Insert value" menu items. See http://www.heidisql.com/forum.php?t=18717 2015-06-18 17:55:51 +00:00
d10abe029f Use "SET search_path TO db" instead of "SET SCHEMA db" for changing a database in PostgreSQL. See http://www.heidisql.com/forum.php?t=18581 2015-06-18 17:37:47 +00:00
8292e41518 Try higher ports, up to the 20 next ones, as SSH local port, when the configured one is in use. Fixes connection problems for multiple connected sessions.
Note: PortOpen() needs ~1 second to finish, so we cannot check thousands of other ports.
See http://www.heidisql.com/forum.php?t=18601#p18601
2015-06-14 06:53:51 +00:00
4e65ed8d5b Fix wrong detection of BIT default values. See http://www.heidisql.com/forum.php?t=17862 2015-05-31 08:53:53 +00:00
a2018b421f MSSQL: Again, try to use some universal date/time format, by injecting a "T" between the date and the time portion. This time with a TRegExpr instead of a TDateTime object. See http://www.heidisql.com/forum.php?t=18441 2015-05-30 14:11:22 +00:00