pllua / pllua-deprecated

[DEPRECATED] This repository is no longer maintained. Please follow https://github.com/pllua/pllua
197 stars 16 forks source link

fix pg11 build #69

Closed eugwne closed 6 years ago

eugwne commented 6 years ago

fix #68

RhodiumToad commented 6 years ago

That's not the best way to fix the tupdesc attribute issue; the best way is to change the code to use TupleDescAttr, which has existed since pg10, and supply a definition of that if pg version is less than 10.

see https://github.com/pllua/pllua-ng/blob/master/src/pllua.h#L38