obs-browser icon indicating copy to clipboard operation
obs-browser copied to clipboard

Could not determine kind of name for C.FunctionCallInfoBaseData

Open biter777 opened this issue 5 years ago • 3 comments

Hi!

Have a truble: $ plgo . /tmp/plgo272805124/pl.go:366:15: could not determine kind of name for C.FunctionCallInfoBaseData

And there's no such mistake on the other computer (Ubuntu 19.10 + go1.13.4). I cannot understand what the error is. Help please.

go version go1.12.2 linux/amd64 gcc (Ubuntu 7.4.0-1ubuntu1 18.04.1) 7.4.0 g++ (Ubuntu 7.4.0-1ubuntu1 18.04.1) 7.4.0 Ubuntu 18.04.3 LTS

biter777 avatar Dec 10 '19 13:12 biter777

It turns out that the problem is observed only in the latest version of PLGO. In the previous version everything is fine (on any computer).

biter777 avatar Dec 11 '19 08:12 biter777

In postgresql 12 they renamed FunctionCallInfoData to FunctionCallInfoBaseData. I must find a way to use FunctionCallInfoBaseData just in >=pg12

microo8 avatar Dec 13 '19 07:12 microo8

Bump on this. I'm running into this against PostgreSQL 11. If only PostgreSQL 12 is supported, it would be nice to document that.

erichanson avatar Dec 15 '20 11:12 erichanson