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,
|
||||
dtChar, dtNchar, dtVarchar, dtNvarchar, dtTinytext, dtText, dtNtext, dtMediumtext, dtLongtext,
|
||||
dtBinary, dtVarbinary, dtTinyblob, dtBlob, dtMediumblob, dtLongblob, dtImage,
|
||||
dtEnum, dtSet, dtBit,
|
||||
dtEnum, dtSet, dtBit, dtVarBit,
|
||||
dtCursor, dtSqlvariant, dtTable, dtUniqueidentifier,
|
||||
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;
|
||||
@ -1180,6 +1180,30 @@ var
|
||||
HasDefault: False;
|
||||
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;
|
||||
NativeTypes: '1700';
|
||||
@ -1240,9 +1264,9 @@ var
|
||||
),
|
||||
(
|
||||
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';
|
||||
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.';
|
||||
HasLength: True;
|
||||
RequiresLength: False;
|
||||
|
Reference in New Issue
Block a user