mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-30 14:39:14 +02:00
* 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:
parent
331f772594
commit
46468145a7
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user