mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
Support JSON data type on PostgreSQL. See http://www.heidisql.com/forum.php?t=17584
This commit is contained in:
@ -186,7 +186,7 @@ type
|
||||
dtDate, dtTime, dtYear, dtDatetime, dtSmalldatetime, dtTimestamp, dtInterval,
|
||||
dtChar, dtNchar, dtVarchar, dtNvarchar, dtTinytext, dtText, dtNtext, dtMediumtext, dtLongtext,
|
||||
dtBinary, dtVarbinary, dtTinyblob, dtBlob, dtMediumblob, dtLongblob, dtImage,
|
||||
dtEnum, dtSet, dtBit, dtVarBit, dtBool, dtUnknown,
|
||||
dtEnum, dtSet, dtBit, dtVarBit, dtBool, dtJson, dtUnknown,
|
||||
dtCursor, dtSqlvariant, dtTable, dtUniqueidentifier, dtHierarchyid,
|
||||
dtPoint, dtLinestring, dtLineSegment, dtPolygon, dtGeometry, dtBox, dtPath, dtCircle, dtMultipoint, dtMultilinestring, dtMultipolygon, dtGeometrycollection
|
||||
);
|
||||
@ -1141,7 +1141,7 @@ var
|
||||
)
|
||||
);
|
||||
|
||||
PostgreSQLDatatypes: Array[0..28] of TDBDatatype =
|
||||
PostgreSQLDatatypes: Array[0..29] of TDBDatatype =
|
||||
(
|
||||
(
|
||||
Index: dtUnknown;
|
||||
@ -1475,6 +1475,18 @@ var
|
||||
HasBinary: False;
|
||||
HasDefault: False;
|
||||
Category: dtcOther;
|
||||
),
|
||||
(
|
||||
Index: dtJson;
|
||||
NativeTypes: '114';
|
||||
Name: 'JSON';
|
||||
Names: 'json';
|
||||
Description: 'JavaScript Object Notation data';
|
||||
HasLength: False;
|
||||
RequiresLength: False;
|
||||
HasBinary: False;
|
||||
HasDefault: False;
|
||||
Category: dtcOther;
|
||||
)
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user