Re: [PATCH] One line patch for src/pl/tcl/modules/pltcl_loadmod - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: [PATCH] One line patch for src/pl/tcl/modules/pltcl_loadmod
Date
Msg-id 200103071608.LAA08365@candle.pha.pa.us
Whole thread Raw
List 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@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

pgsql-patches by date:

Previous
From: Li Min Liu
Date:
Subject: chinese_big5 patches for PgAccess
Next
From: Bruce Momjian
Date:
Subject: Re: [PATCH] One more (was Re: [PATCH] One line patch for src/pl/tcl/modules/pltcl_loadmod)