Re: [PATCH] One line patch for src/pl/tcl/modules/pltcl_loadmod

Started by Bruce Momjianover 25 years ago1 messagespatches
Jump to latest
#1Bruce Momjian
bruce@momjian.us

Applied. Thanks.

pltcl_loadmod has problems with big (>4k) modules because of missing incr
in splitting code:

Index: pltcl_loadmod
===================================================================
RCS file: /home/src/pgsql/repo/pgsql/src/pl/tcl/modules/pltcl_loadmod,v
retrieving revision 1.1
diff -u -r1.1 pltcl_loadmod
--- pltcl_loadmod	1998/02/11 14:14:17	1.1
+++ pltcl_loadmod	2001/03/06 08:36:01
@@ -452,6 +452,7 @@
pg_exec $conn "insert into pltcl_modules values (	\
'$xname', $i, '$xpart')"			\
] -clear
+	    incr i
}

pg_result [pg_exec $conn "commit;"] -clear

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026