Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not determine kind of name for C.FunctionCallInfoBaseData #35

Open
biter777 opened this issue Dec 10, 2019 · 3 comments
Open

Could not determine kind of name for C.FunctionCallInfoBaseData #35

biter777 opened this issue Dec 10, 2019 · 3 comments

Comments

@biter777
Copy link

biter777 commented Dec 10, 2019

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
Copy link
Author

biter777 commented Dec 11, 2019

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).

@microo8
Copy link
Owner

microo8 commented Dec 13, 2019

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

@erichanson
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants