[postgis-users] AsBinary not honouring the endianess parameter

Richard Taylor r.taylor at bcs.org.uk
Tue Sep 30 00:11:31 PDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

Are there any know issues with AsBinary() sometimes not honouring the 
endianess parameter?

I am using a binary cursor in the following way:

DECLARE zot BINARY CURSOR FOR SELECT AsBinary(p1,'XDR'),AsBinary(p2,'XDR') 
FROM geom_table FOR READ ONLY
FETCH ALL FROM zot

About 50% of the time the result is in XDR and 50% in NDR. I shall probably 
write my parser to deal with both versions but it does seam strange.

Richard

- -- 
Jabber: RichardTaylor at jabber.org
PGPKey: http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA7DA9FD9
Key fingerprint = D051 A121 E7C3 485F 3C0E  1593 ED9E D868 A7DA 9FD9
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/eSyn7Z7YaKfan9kRAnsuAKDwgeUj2B75e6pBVRP2TJQiZGC7pACdG6iX
vMTSMxtxaG6tER/X9UxmcaY=
=PHwd
-----END PGP SIGNATURE-----




More information about the postgis-users mailing list