[pg-devel] pg-connect ... "not of type BASE-CHAR"
Nicholas Ivy
nji at njivy.org
Tue Apr 19 20:41:30 UTC 2005
I am using SBCL 0.8.21, a recent CVS snapshot of pg from
common-lisp.net, and postgresql 7.4.7 on Mac OS 10.3.9. When I call
...
(pg-connect "dbname" "username" :password "password")
... an error results:
"Error The value #\(some unprintable character like Reverse-Linefeed)
is not of type BASE-CHAR. [25-modlisp-worker]"
Is there something I should know about configuring pg for use with sbcl?
Nic
-----
CL-USER> (pg:pg-connect "database" "user" :password "password")
The value #\û is not of type BASE-CHAR.
[Condition of type TYPE-ERROR]
Restarts:
0: [ABORT] Abort handling SLIME request.
1: [ATTEMPT-RESYNC] Attempt to resync the stream at a character
boundary and continue.
2: [FORCE-END-OF-FILE] Force an end of file.
3: [ABORT] Exit debugger, returning to top level.
Backtrace:
0: ((SB-PCL::FAST-METHOD POSTGRESQL::READ-STRING-FROM-PACKET
(POSTGRESQL::PG-PACKET INTEGER)) (#(NIL 3 2) . #()) #<unavailable
argument> #<POSTGRESQL::PG-PACKET type: R length: 12 position: 4
{40A5CC99}> 4)
Locals:
SB-DEBUG::ARG-0 = (#(NIL 3 2) . #())
SB-DEBUG::ARG-1 = :<NOT-AVAILABLE>
SB-DEBUG::ARG-2 = #<POSTGRESQL::PG-PACKET type: R length: 12
position: 4 {40A5CC99}>
SB-DEBUG::ARG-3 = 4
More information about the pg-devel
mailing list