-
- Downloads
Allow assignment to array elements not contiguous with those already
present; intervening positions are filled with nulls. This behavior is required by SQL99 but was not implementable before 8.2 due to lack of support for nulls in arrays. I have only made it work for the one-dimensional case, which is all that SQL99 requires. It seems quite complex to get it right in higher dimensions, and since we never allowed extension at all in higher dimensions, I think that must count as a future feature addition not a bug fix.
Showing
- doc/src/sgml/array.sgml 7 additions, 6 deletionsdoc/src/sgml/array.sgml
- src/backend/utils/adt/arrayfuncs.c 114 additions, 85 deletionssrc/backend/utils/adt/arrayfuncs.c
- src/test/regress/expected/arrays.out 110 additions, 0 deletionssrc/test/regress/expected/arrays.out
- src/test/regress/sql/arrays.sql 36 additions, 0 deletionssrc/test/regress/sql/arrays.sql
Loading
Please register or sign in to comment