PgDAC
Retrieves TBlob object for a field or current record when its name is known.
PgQuery1.GetBlob('Comment').SaveToFile('Comment.txt');