feat(database): use array to record multiple values (refs #2761)
feat(database): improve pg array conversion (refs #2761)
Merge pull request #1066 from Eric-Brison/3.3-E2761

feat(database): improve pg array conversion (fixes #2761)