Closed mlt closed 7 years ago
Done? Let me know if you would like me to redo something. Otherwise, I'd rebase the branch (to apply fixup) and it is ready to go.
Shall I replace PointerGetDatum with PG_RETURN_POINTER while at it?
Thank you, @mlt. PointerGetDatum seems OK to me in a static function.
Upd... it looks like it is more involving than I thought :innocent: https://gist.github.com/mlt/177aa3f1271410fd265978ba09daafe4SPI_modifytuple returns NULL for whatever reason. Do we need to check in the code?SPI_result was set to SPI_ERROR_UNCONNECTEDThis might be relevant