Why doesn't the PL/Tcl (and PL/Python) implementation use the SPI functions? For example pltcl_set_tuple_values() calls NameStr() instead of SPI_fname() and heap_getattr() instead of SPI_getbinval(). Why? This makes the code impossible to follow for someone who is not familiar with the postgres source and has only read the online documentation. -- View this message in context: http://www.nabble.com/PL-Tcl-implementation-tp15215251p15215251.html Sent from the PostgreSQL - general mailing list archive at Nabble.com. ---------------------------(end of broadcast)--------------------------- TIP 6: explain analyze is your friend