mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Add support for JSONB column types in PostgreSQL. Closes #606
This commit is contained in:
@@ -406,7 +406,7 @@ const
|
||||
);
|
||||
|
||||
// MySQL data types
|
||||
TDBDatatypeIndex = (dtTinyint, dtSmallint, dtMediumint, dtInt, dtBigint, dtSerial, dtBigSerial,
|
||||
TDBDatatypeIndex = (dtTinyint, dtSmallint, dtMediumint, dtInt, dtBigint, dtSerial, dtBigSerial,
|
||||
dtFloat, dtDouble, dtDecimal, dtNumeric, dtReal, dtDoublePrecision, dtMoney, dtSmallmoney,
|
||||
dtDate, dtTime, dtYear, dtDatetime, dtDatetime2, dtDatetimeOffset, dtSmalldatetime, dtTimestamp, dtInterval,
|
||||
dtChar, dtNchar, dtVarchar, dtNvarchar, dtTinytext, dtText, dtNtext, dtMediumtext, dtLongtext,
|
||||
@@ -1655,7 +1655,7 @@ var
|
||||
HasBinary: False;
|
||||
HasDefault: False;
|
||||
LoadPart: False;
|
||||
Category: dtcOther;
|
||||
Category: dtcOther;
|
||||
)
|
||||
);
|
||||
|
||||
@@ -2120,6 +2120,19 @@ var
|
||||
HasLength: False;
|
||||
RequiresLength: False;
|
||||
HasBinary: False;
|
||||
HasDefault: False;
|
||||
LoadPart: False;
|
||||
Category: dtcText;
|
||||
),
|
||||
(
|
||||
Index: dtJsonB;
|
||||
NativeTypes: '3802';
|
||||
Name: 'JSONB';
|
||||
Names: 'jsonb';
|
||||
Description: 'JavaScript Object Notation data in a binary form';
|
||||
HasLength: False;
|
||||
RequiresLength: False;
|
||||
HasBinary: False;
|
||||
HasDefault: False;
|
||||
LoadPart: False;
|
||||
Category: dtcBinary;
|
||||
|
||||
Reference in New Issue
Block a user