Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

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



In article <302670f20702011827x28d9a689m388b2c8a703f31af(at)mail(dot)gmail(dot)com>,
Gary Chambers <gwchamb(at)gmail(dot)com> 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/



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group