How does one implement a simple, general purpose, assignable
array (or list) in pl/pgsql? From what I’ve found/read, it appears that
you can declare static, read-only arrays. I’m guessing (and please
correct if I’m wrong), PG does not support modifyable arrays. Rather,
one might consider defining a temporary table and using sql to insert/select
to/from it. True? |