brianc/node-postgres — Issue #73: retrive array data 
Author: alnoor
Created: 2011-11-19 22:58:30+00:00
State: open

Hi
I do not know if this belongs here but i will write it anyway
i have a table in postgresql in which i have an array of strings

char varying(25) []
this array is part of a larger table

i insert 3 items test1 test 2 test3
when i retrieve this using node-postgres i get {test1, test2 test3} -- note the squiggly brackets-
this is a part of the result set

i cannot get at the the content by using an index into an array as it is not recognized as an array - I have to parse the object to get at the content. Is there an easier way yo do this - note - i am very new at this.