Skip site navigation (1) Skip section navigation (2)

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

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 (view raw or flat)
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

pgsql-patches by date

Next:From: Bruce MomjianDate: 2001-03-07 16:18:52
Subject: Re: [PATCH] One more (was Re: [PATCH] One line patch for src/pl/tcl/modules/pltcl_loadmod)
Previous:From: Tom LaneDate: 2001-03-06 04:21:27
Subject: Proposed WAL changes

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group