* Patch from Joao Morais to fix the reading of a bytea field from a PgSQL database

git-svn-id: trunk@11118 -
This commit is contained in:
joost 2008-05-29 09:08:12 +00:00
parent 331f772594
commit 46468145a7

View File

@ -103,6 +103,7 @@ ResourceString
SErrPrepareFailed = 'Preparation of query failed.';
const Oid_Bool = 16;
Oid_Bytea = 17;
Oid_Text = 25;
Oid_Oid = 26;
Oid_Name = 19;
@ -395,6 +396,7 @@ begin
end;
// Oid_text : Result := ftstring;
Oid_text : Result := ftBlob;
Oid_Bytea : Result := ftBlob;
Oid_oid : Result := ftInteger;
Oid_int8 : Result := ftLargeInt;
Oid_int4 : Result := ftInteger;