chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #609: postgresql: executing stored procedures with bi


From: Chicken Trac
Subject: [Chicken-janitors] #609: postgresql: executing stored procedures with bind parameters fails
Date: Wed, 15 Jun 2011 21:20:07 -0000

#609: postgresql: executing stored procedures with bind parameters fails
------------------------+---------------------------------------------------
 Reporter:  syn         |       Owner:  sjamaan
     Type:  defect      |      Status:  new    
 Priority:  minor       |   Milestone:  4.8.0  
Component:  extensions  |     Version:  4.7.x  
 Keywords:  postgresql  |  
------------------------+---------------------------------------------------
 Executing a stored procedure with bind parameters in argument position
 like this:

     (query conn "EXECUTE foo($1, $2)" 100 2)

 Leads to an error like this:

     ERROR:  bind message supplies 2 parameters, but prepared statement ""
 requires 0

 Adding explicit types after the parameters (like $1::int) doesn't work
 either.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/609>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]