[racket] Doubt about ryanc/db unreadable values

From: Eduardo Bellani (ebellani at gmail.com)
Date: Thu Nov 10 07:52:21 EST 2011

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

Hello list.

I am somewhat stuck with a mysterious return from my postgresql DB. I
have a stored procedure that behaves like this:

my_test_db=# select main.the_procedure();
     the_procedure
- --------------------------------------------
 (1,1,16642,3,"2011-11-10 10:41:58.574135")
 (4,1,16642,3,"2011-11-10 10:42:11.916132")
(2 rows)

While on racket world:

(require (planet ryanc/db:1:5))

(for/vector ([x
              (in-query (get-db-connection) ;; returns a DB connection
                "select main.the_procedure")])
        (displayln x))


=>

#(1 1 16642 3 unreadable)
#(4 1 16642 3 unreadable)


Did anyone stumbled on this behavior before? Any hints?
Thanks all.

- -- 
Eduardo Bellani

omnia mutantur, nihil interit.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk67yQUACgkQSbLl0kCTjGkAPgCeILJdycRFSFQhiZCSGoe/GuGR
UkoAoIM20iAE2LXM2xdojMSjVi3JvkUb
=xTRj
-----END PGP SIGNATURE-----


Posted on the users mailing list.