> I don't know if the above is correct or if PostgreSQL has received the
> binary data correctly, maybe someone can confirm this for me please?
If it has an id, I suspect postgres got it just fine.
> $stmt = $pdo->prepare("SELECT blob_type, attachment FROM attachments
> WHERE id = :id LIMIT 1");
> $stmt->bindParam(':id', $_GET['id'], PDO::PARAM_STR);
See examples here:
about how to get it back.
Postgresql & php tutorials
In response to
pgsql-php by date
|Next:||From: A B||Date: 2008-09-30 07:23:06|
|Subject: Unknown: Cannot set connection to blocking mode in Unknown on line 0|
|Previous:||From: Rico Secada||Date: 2008-09-25 21:37:29|
|Subject: Re: Can't get PHP PDO LOB working with PostgreSQL|