294 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
956ea205eb Call GetDateTimeValue for all temporal types on all server versions. 2014-07-26 14:13:40 +00:00
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
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
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
aa8258f1a1 Fix detection of column name identifier in ParseTableStructure. Fixes issue #3585. 2014-07-05 09:09:58 +00:00
85ec3724e0 Add error message when PostgreSQL library procedure was not found. 2014-06-15 18:07:25 +00:00
f9d3321104 Fix truncation of routine body to 4000 characters, as a limitation of nvarchar(4000). See http://www.heidisql.com/forum.php?t=12495 . Fixes issue #3503. 2014-06-15 17:57:09 +00:00
cada6f0e5d Fix detection of column names with backticks in them. Should have already been fixed in r4559. Fixes issue #2292, again. 2014-06-14 06:54:46 +00:00
9ecb52afcb Revert accidental changes included in previous commit. 2014-05-27 13:57:01 +00:00
f417a25fe0 mysql_get_server_info() returns "5.5.5-10.0.10-MariaDB". Override that with the "version" server variable, which is more exact here. 2014-05-27 13:55:54 +00:00
a2c76e7e5f Detect DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP in column definitions. See http://www.heidisql.com/forum.php?t=15768 2014-05-27 13:44:19 +00:00
2af4d3cc18 Support query timeout on MSSQL and PostgreSQL. Make customizable per up/down scroller in "Advanced" tab of session manager. Fixes issue #3507. 2014-05-04 05:01:25 +00:00
e2b1d623d0 Remove "experimental" from MSSQL net types. 2014-05-03 04:16:56 +00:00
a51df43aee Add call to Query() in SetDatabase() after removing it accidentally in previous commit. See http://www.heidisql.com/forum.php?t=15536 2014-04-22 17:14:20 +00:00
302238b38d Make detection of USE query more reliable, and implement it once for all descendants of TDBConnection. See also http://www.heidisql.com/forum.php?t=15530 2014-04-22 14:49:58 +00:00
6507cb0ea3 Fix missing table alias on MSSQL2K. See http://www.heidisql.com/forum.php?t=15506 2014-04-19 10:24:38 +00:00
97774da5c5 Display schemata instead of databases in db tree. See http://code.google.com/p/heidisql/issues/detail?id=3190#c32 2014-04-17 06:29:11 +00:00
5adea1a2e4 Use hardcoded "template1" database when connecting. There is no connect method using an empty database name. See http://code.google.com/p/heidisql/issues/detail?id=3190#c30 2014-04-17 05:20:23 +00:00
804857b544 Add PostgreSQL server icon 2014-04-15 15:46:14 +00:00