I want to store multiple values in single variable(array) in postgresql stored procedure.
My query in mysql is as
select name from cloud_table into @cloud; // @cloud contain multiple name
I want to convert this query into Postgresql. how to achieve this.
select name from cloud_table into #cloud? Please edit your post and show us how that variable will be used later on.