mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-06 18:24:26 +08:00
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
This commit is contained in:
@ -186,7 +186,7 @@ type
|
|||||||
dtDate, dtTime, dtYear, dtDatetime, dtSmalldatetime, dtTimestamp,
|
dtDate, dtTime, dtYear, dtDatetime, dtSmalldatetime, dtTimestamp,
|
||||||
dtChar, dtNchar, dtVarchar, dtNvarchar, dtTinytext, dtText, dtNtext, dtMediumtext, dtLongtext,
|
dtChar, dtNchar, dtVarchar, dtNvarchar, dtTinytext, dtText, dtNtext, dtMediumtext, dtLongtext,
|
||||||
dtBinary, dtVarbinary, dtTinyblob, dtBlob, dtMediumblob, dtLongblob, dtImage,
|
dtBinary, dtVarbinary, dtTinyblob, dtBlob, dtMediumblob, dtLongblob, dtImage,
|
||||||
dtEnum, dtSet, dtBit,
|
dtEnum, dtSet, dtBit, dtVarBit,
|
||||||
dtCursor, dtSqlvariant, dtTable, dtUniqueidentifier,
|
dtCursor, dtSqlvariant, dtTable, dtUniqueidentifier,
|
||||||
dtPoint, dtLinestring, dtPolygon, dtGeometry, dtMultipoint, dtMultilinestring, dtMultipolygon, dtGeometrycollection);
|
dtPoint, dtLinestring, dtPolygon, dtGeometry, dtMultipoint, dtMultilinestring, dtMultipolygon, dtGeometrycollection);
|
||||||
|
|
||||||
@ -1120,7 +1120,7 @@ var
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
PostgreSQLDatatypes: Array[0..16] of TDBDatatype =
|
PostgreSQLDatatypes: Array[0..18] of TDBDatatype =
|
||||||
(
|
(
|
||||||
(
|
(
|
||||||
Index: dtSmallint;
|
Index: dtSmallint;
|
||||||
@ -1180,6 +1180,30 @@ var
|
|||||||
HasDefault: False;
|
HasDefault: False;
|
||||||
Category: dtcInteger;
|
Category: dtcInteger;
|
||||||
),
|
),
|
||||||
|
(
|
||||||
|
Index: dtVarBit;
|
||||||
|
NativeTypes: '1562';
|
||||||
|
Name: 'BIT VARYING';
|
||||||
|
Names: 'bit varying|varbit';
|
||||||
|
Description: 'Variable-length bit string.';
|
||||||
|
HasLength: True;
|
||||||
|
RequiresLength: False;
|
||||||
|
HasBinary: False;
|
||||||
|
HasDefault: True;
|
||||||
|
Category: dtcInteger;
|
||||||
|
),
|
||||||
|
(
|
||||||
|
Index: dtBit;
|
||||||
|
NativeTypes: '1560';
|
||||||
|
Name: 'BIT';
|
||||||
|
Names: 'bit';
|
||||||
|
Description: 'Fixed-length bit string.';
|
||||||
|
HasLength: True;
|
||||||
|
RequiresLength: False;
|
||||||
|
HasBinary: False;
|
||||||
|
HasDefault: True;
|
||||||
|
Category: dtcInteger;
|
||||||
|
),
|
||||||
(
|
(
|
||||||
Index: dtNumeric;
|
Index: dtNumeric;
|
||||||
NativeTypes: '1700';
|
NativeTypes: '1700';
|
||||||
@ -1240,9 +1264,9 @@ var
|
|||||||
),
|
),
|
||||||
(
|
(
|
||||||
Index: dtVarchar;
|
Index: dtVarchar;
|
||||||
NativeTypes: '18|19|24|1043|1186|1042|1043|650|869|829|1560|1562';
|
NativeTypes: '18|19|24|1043|1186|1042|1043|650|869|829';
|
||||||
Name: 'VARCHAR';
|
Name: 'VARCHAR';
|
||||||
Names: 'interval|char|bpchar|varchar|bit|varbit|name|enum|cidr|inet|macaddr|regproc|character varying';
|
Names: 'interval|char|bpchar|varchar|name|enum|cidr|inet|macaddr|regproc|character varying';
|
||||||
Description: 'Variable-length with limit.';
|
Description: 'Variable-length with limit.';
|
||||||
HasLength: True;
|
HasLength: True;
|
||||||
RequiresLength: False;
|
RequiresLength: False;
|
||||||
|
Reference in New Issue
Block a user