Hi,
Is it possible that there is something wrong or missing in handling the result from a SET command ?
POSTMODERN 44 > (connect-toplevel "test" "postgres" "" "localhost")
POSTMODERN 45 > (execute "set time zone gmt") CL-POSTGRES: set time zone gmt
Error: Postgresql protocol error: Unexpected message received: S 1 (abort) Return to level 0. 2 Return to top loop level 0.
Type :b for backtrace, :c <option number> to proceed, or :? for other options
POSTMODERN 46 : 1 > :b Call to CL-POSTGRES::LOOK-FOR-ROW Call to CL-POSTGRES::SEND-QUERY Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION (LABELS #:G135637) EXEC- QUERY) Call to EXEC-QUERY Call to EVAL Call to CAPI::CAPI-TOP-LEVEL-FUNCTION Call to CAPI::INTERACTIVE-PANE-TOP-LOOP Call to (HARLEQUIN-COMMON-LISP:SUBFUNCTION MP::PROCESS-SG-FUNCTION MP::INITIALIZE-PROCESS-STACK)
Thanks,
Sven
Hey Sven,
POSTMODERN 45 > (execute "set time zone gmt") CL-POSTGRES: set time zone gmt Error: Postgresql protocol error: Unexpected message received: S
Oops - this was a case in the pg client/server protocol that I was not handling correctly. I've pushed a patch which should solve the problem.
Cheers, Marijn
Marijn,
On 01 Apr 2008, at 15:47, Marijn Haverbeke wrote:
Hey Sven,
POSTMODERN 45 > (execute "set time zone gmt") CL-POSTGRES: set time zone gmt Error: Postgresql protocol error: Unexpected message received: S
Oops - this was a case in the pg client/server protocol that I was not handling correctly. I've pushed a patch which should solve the problem.
Cheers, Marijn
Pulling from "http://common-lisp.net/project/postmodern/darcs/ postmodern"...
Tue Apr 1 15:39:53 CEST 2008 marijnh@gmail.com * handle ParameterStatus messages when reading in query results
And it works for me now! Thanks a lot for the fast response.
Regards,
Sven
postmodern-devel@common-lisp.net