I am using postgres with postgis and i have a table with geometry data. Now i would like to write a procedure in plpgsql that loop through the rows and store each geometry value in array.
What return typeshall i use to return an array full of geometry values?