I wonder why do you have it return the multiple alternative codes as a
space-separated string. Maybe an array would be more appropriate. Even
on your documented example use, the first thing you do is split it on
spaces.
--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/