FROM generate_series(array_lover($1,1),array_upper($1,1)) g(i)
Pavel,Don't get me wrong, I enjoy coding, but I think you've taken it too far here ;)
Yes, definitely more effective for large arrays. Thanks. Would probably be a good snippet for the wiki.
Scott -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general