[postgis-devel] loader incompatibility

Markus Schaber schabi at logix-tt.com
Tue Apr 5 09:18:24 PDT 2005


Hi, Strk,

strk at refractions.net schrieb:

> I need to look closer at them, as I told you I see too many arguments
> to the load_data function. I guess it could take NO args.

Yes, if we use global variables instead of local ones for trans,
num_entities and j, we can make it taking no arguments.

The attached patch changes this.

BTW, my personal preference are local variables and function arguments,
because global variables tend to lead to maintainance nightmares.

Markus
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: prepare5.diff
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20050405/292f0444/attachment.ksh>


More information about the postgis-devel mailing list