-
Notifications
You must be signed in to change notification settings - Fork 1
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
Test PostgreSQL 12 compatibility #3
Comments
I tried to work on it for pgsql >= 12 in PGFunction.swift
Structure changed from
to
Build log
It is strange args is not in scope. This is commit broke the lib postgres/postgres@a9c35cf |
Swift has no way of dealing with To get this compiling I just commented out everything in this file. I think if I end up using this project at all, I will either write a C helper that fetches a certain argument and expose it to Swift, or will organise the code so that the low-level interactions with the postgres API happen in C and the business logic happens in Swift |
I don't understand that comment. Swift Array lengths are always dynamic and not known at compile time. The length of the pgarray is in Presumably in the new setup it is not exposed as an |
Need to check that out.
The text was updated successfully, but these errors were encountered: