-
Notifications
You must be signed in to change notification settings - Fork 32
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
Example for ... RETURNS Text[] AS ... please #132
Comments
I'm a little confused by the result type your going for here, based on the function name (maybe that's just a quick example you have here though?). These examples are close: https://github.com/bluejekyll/pg-extend-rs/blob/master/examples/strings/src/lib.rs#L30 If you really want an array perhaps @auterium might have something? I know that was an area he was working in. |
Unfortunatelly I recently lost all my un-published progress regarding arrays as my laptop was stolen on my way back home. I'm slowly rebuilding the private code I was working on, so until that's done, I won't be able to work again on this. |
Thanks @TssT16. Most of the code that I must rebuild is actually propietary, so I won't be able to share it. However, some parts that can be pushed up to |
Can you please give a example how to make a text[] return.
I am new in Rust so I have no idear but what I want is something like this.
CREATE FUNCTION concat_rs(text, text) RETURNS text[] AS 'path/to/crate/target/release/libstrings.dylib', 'pg_concat_rs' LANGUAGE C STRICT;
The text was updated successfully, but these errors were encountered: