From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | seva(at)sevasoft(dot)kiev(dot)ua |
Cc: | PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [PATCH] One line patch for src/pl/tcl/modules/pltcl_loadmod |
Date: | 2001-03-07 16:08:47 |
Message-ID: | 200103071608.LAA08365@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2001-03-07 16:18:52 | Re: [PATCH] One more (was Re: [PATCH] One line patch for src/pl/tcl/modules/pltcl_loadmod) |
Previous Message | Tom Lane | 2001-03-06 04:21:27 | Proposed WAL changes |