Open thiru-baffle opened 8 months ago
We are converting the UDFs from PL/PGSQL to PL/Rust. The following pl/pgsql function accepts an array of bigint and returns an array of bytea.
With this function, it can accept any dimension of an array and can return any dimension array by returning an array[[data::bytea][data2::bytea]].
To do this same thing in pl/rust, I have tried a few things as below:
CREATE FUNCTION echo_fn2(a INT[]) RETURNS Array<', i32> -> But failed to recognize the Array<'_,i32> type in pl/rust.
Could you help me, is there any options to achieve the above requirement in pl/rust?
We are converting the UDFs from PL/PGSQL to PL/Rust.
The following pl/pgsql function accepts an array of bigint and returns an array of bytea.
To do this same thing in pl/rust, I have tried a few things as below:
Could you help me, is there any options to achieve the above requirement in pl/rust?