> There must be a way to get string_to_array() to evaluate only once, yes?
WITH, but that's not going to help you for backward compatibility. If you used plpgsql you could assign the string_to_array result to a variable and then work off the variable, but I'm not sure that's really better. ...Robert -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers