PL/Python adding support for multi-dimensional arrays
This patch adds support for multi-dimensional arrays as both input and output parameters for PL/Python functions. The number of dimensions is limited by Postgres MAXDIM macrovariable, by default equal to 6. Both input and output multi-dimensional arrays should have fixed dimension sizes, i.e. 2-d arrays should represent MxN matrix, 3-d arrays representing MxNxK cube, etc. Patch includes regression tests for both correct multi-dimensional array use cases and errorneous ones.
Showing
想要评论请 注册 或 登录