Ken Winter wrote:
Can arrays be declared in PL/pgSQL routines?  If so, how?
<snip>
DECLARE

try:
my_array VARCHAR[] := '{}';

not sure if this works in 7.4 though, if that's the version that you are using.

---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match

Reply via email to