"Cliff Reid" <creid(at)proximitygroup(dot)com> writes:
> My instant analysis: It seems to not like BINARY CURSOR. When I remove
> BINARY from the SQL DECLARE string, I no longer receive the seg-fault but
> the data results (presentation) are not as expected.
7.4 changed the external representation in which BINARY CURSOR results
are delivered. Before 7.4 you got the (very machine- and even version-
dependent) server internal representation; now you get an on-the-wire
representation that we hope to keep stable.
regards, tom lane