Skip to content

compatibility before 9.6 (at least 9.5)

Hubert Lubaczewski requested to merge nbonnotte:master into master

Created by: nbonnotte

Omitting the upper bound in a slice is only possible with postgresql 9.6. Unfortunately, I'm stuck with 9.5, and the current code raises a syntax error.

I think this should be enough to make the code compatible with earlier versions.

To be honest, I'm not familiar with arrays, so I may have missed something, but it seems to work.

BTW, thanks for your blog! I've learned many things on it :)

Merge request reports