susongyan commented on issue #23964:
URL: 
https://github.com/apache/shardingsphere/issues/23964#issuecomment-1564248668

   i  meet this case using node typeorm  update ,too 
   
   it seems like   pg's parameterMarkerIndex may  not be in order as jdbc's 
treat
   
   generated sql is like : 
   `UPDATE "t_alert_rule" SET "alert_persons" = $2, "update_time" = 
CURRENT_TIMESTAMP WHERE "id" IN ($1) RETURNING "update_time” `     
   
   and  parseExecutor  convert it to jdbc style    
   `UPDATE "t_alert_rule" SET "alert_persons" = ?, "update_time" = 
CURRENT_TIMESTAMP WHERE "id" IN (?) RETURNING "update_time” `     
   
   eventually   the actual parameters is miss match with index;  re order  the 
actual parameters' order in 'bind' phase seems works 
   @TeslaCN 
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to