--- In [email protected], "Joan Manuel" <[EMAIL PROTECTED]> wrote:
>
> Hello to everyone, i would like to know, how can i save a image 
into a
> blob field with delphi, i use a postgresql 8.2 database.
> 
> this is my first time that i write to this group.
> 
> Im making a project for my university, all my friends use microsoft
> products, im the only one that is working with delphi and 
postgresql.
> 
> please help me, and excuse my bad english.
> 
> bye.
>

You have not said what technology (if any) you are using within 
Delphi to connect to PostgreSQL.
The cheap option is to use:
PostgreSQL ODBC driver
+ Microsoft OLEDB Provider for ODBC Databases
+ ADO components (which come with Delphi if you're lucky).

However, a quick search on google for PostgreSQL+Delphi soon 
convinced me that microOLAP at
http://www.microolap.com/products/connectivity/postgresdac/
have already got this all sewn up with their PostgresDAC Delphi 
components.

Of /particular/ interest to you in their blurb on the above web page 
are the following statements:
* full support of the BLOB fields; 
* TDBImageEx component for JPEG images support included in the 
package for free (with sources); 

I'd go with the microOLAP alternative myself (in your situation) 
because getting it done as quickly and easily as possible is the 
objective.
They have Free Trial download, and Education Licensing too if you 
look hard enough.



Reply via email to