Limit how much values fit into an array

I found no way to limit the amount of values fit into an array, so I open this as a feature request.

I need something that matches this SQL implementation:

    string_array TEXT[] CHECK (cardinality(string_array) <= 3)
Was this page helpful?