Re: pg_[un]escape_bytea, pgsql 8.2.1, php 5.1.6, Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



In article <302670f20702011827x28d9a689m388b2c8a703f31af@xxxxxxxxxxxxxx>,
Gary Chambers <gwchamb@xxxxxxxxx> wrote:

>I have inserted (via pg_query_params) into a bytea field some
>binary data (a JPEG image in this case) which I have escaped
>using pg_escape_bytea.

I just use a text field and base64 encode the image. It works great.

--
http://yosemitephotos.net/


[Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

Add to Google Powered by Linux