Re: delphi+adodb+postgresql+bytea

From: "Derrick Betts" <derrick(at)grifflink(dot)com>
To: Péter <tyrial(at)freemail(dot)hu>
Cc: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: delphi+adodb+postgresql+bytea
Date: 2005-10-11 14:30:46
Message-ID: 041001c5ce70$6086c070$0202a8c0@main
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

It's been a couple of years since I did anything with Delphi7 and postgres,
but here are some things to try:
I don't think that adodb contains the appropriate driver to correctly
access postgresql. (I could be wrong, however). We ended up using an open
source system we installed into Delphi for the connections to the db. (
http://sourceforge.net/projects/zeoslib/ )

Also, we had the same problem with Blob data. We had to forego using the
bytea datatype and used oid specifically for storage of Blob data.

Hope this helps,
Derrick

----- Original Message -----
From: "Péter" <tyrial(at)freemail(dot)hu>
To: <pgsql-novice(at)postgresql(dot)org>
Sent: Sunday, October 09, 2005 2:58 PM
Subject: [NOVICE] delphi+adodb+postgresql+bytea

>
> Hi,
>
> I would like to use postgresql via adodb (delphi7), inserting and
> retrieving binary data using bytea field.
> Unfortunately I got error messages like:
> SELECT -> 'Query returned unhandled type 17'
> INSERT -> 'invalid type' (ftBlob/ftBytes/ftVarBytes)
>
> Did any of You have experience using bytea?
>
> Thanks for you help.
>
>
>
> ____________________________________________________________________________________________
> Kisbabád lesz? Kisbabád született? Tele vagy kérdésekkel, és nem tudod,
> hol találsz választ?
> Kukkants be a Babázóba! - www.babazo.hu
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings
>
>
>

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Martin Foster 2005-10-12 00:56:41 Forcing a specific order
Previous Message Tom Lane 2005-10-11 13:47:31 Re: LIKE.....and Locale