karly@xxxxxxxxxxxxx writes: > I've been unable to come up with the counterpart to select the > keywords and populate an array that I can return.. I think you want something along the lines of kwlist := array(select keyword from keywords where ...); regards, tom lane