pltcl_loadmod has problems with big (>4k) modules because of missing incr

in splitting code:

seva@sevasoft.kiev.ua
REL7_1_STABLE
Bruce Momjian 25 years ago
parent c7aa5998ae
commit 3dc1b2b71d
  1. 1
      src/pl/tcl/modules/pltcl_loadmod

@ -452,6 +452,7 @@ proc __PLTcl_loadmod_load_modules {conn} {
pg_exec $conn "insert into pltcl_modules values ( \
'$xname', $i, '$xpart')" \
] -clear
incr i
}
pg_result [pg_exec $conn "commit;"] -clear

Loading…
Cancel
Save