From: xiong w. <wan...@gm...> - 2010-12-07 07:56:53
|
Dears, I have two solutions to resolve the bug#3013562. 1. I will rewrite insert statement if it is an mutiple insert. I will deparse the mutiple insert statement into single insert statements which count is the same as values_list in function pg_rewrite_query. 2. I would like to use prepare statement to replace an mutiple insert. In other word, during a mutiple insert statement executing, I will use a prepare statement node to replace the mutiple insert statement node. The main idea of all above solutions is divided mutiple insert into single insert. I don't know whether two methods are feasible or which one will be better. Could you give me some suggestions? If you have other idea, please don't hesitate to tell me. Thanks. Regards, Benny |