[postgis-devel] Dump code question

Obe, Regina robe.dnd at cityofboston.gov
Wed Feb 25 11:37:06 PST 2009


I was looking at lwgeom_dump.c code trying to understand how the whole stack model it uses works.

There is one thing I came across I don't quite understand.  In
LWGeom_dump and LWGEOM_dump_rings

We do this

		/* allocate a slot for a tuple with this tupdesc */
		slot = TupleDescGetSlot(tupdesc);

		/* allocate a slot for a tuple with this tupdesc */
		slot = TupleDescGetSlot(tupdesc);

Is there a reason for setting this twice?

Thanks,
Regina


-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20090225/0a95017d/attachment.html>


More information about the postgis-devel mailing list