Re: binary cursor returning truncated data

From: Christopher Kings-Lynne <chris(dot)kings-lynne(at)calorieking(dot)com>
To: Eric Mauvière <e(dot)mauviere(at)geoclip(dot)fr>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: binary cursor returning truncated data
Date: 2006-04-18 08:28:20
Message-ID: 4444A324.20904@calorieking.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

> for that confirmation
>
> I reported the bug to the PHP team, and they issued a patch.
>
> I would also suggest to postgres developpers to simplify their code and
> go back to SQL standards :)
> That BINARY CURSOR thing should be avoided. With MySQL for instance, a
> cursor will read the same way any type of data, binary or text.

I think you're rather confused. The BINARY CURSOR is for emitted binary
data, not reading it. If you declare a normal cursor over a binary
(bytea) field, you will get its text representation quite happily.

Chris

In response to

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Eric Mauvière 2006-04-18 08:44:21 Re: binary cursor returning truncated data
Previous Message Eric Mauvière 2006-04-18 08:01:10 Re: binary cursor returning truncated data