[COMMITTERS] pgsql: Fix handling of empty arrays in array_fill().

2017-01-05 Thread Tom Lane
Fix handling of empty arrays in array_fill(). array_fill(..., array[0]) produced an empty array, which is probably what users expect, but it was a one-dimensional zero-length array which is not our standard representation of empty arrays. Also, for no very good reason, it rejected empty input arr

[COMMITTERS] pgsql: Fix handling of empty arrays in array_fill().

2017-01-05 Thread Tom Lane
Fix handling of empty arrays in array_fill(). array_fill(..., array[0]) produced an empty array, which is probably what users expect, but it was a one-dimensional zero-length array which is not our standard representation of empty arrays. Also, for no very good reason, it rejected empty input arr

[COMMITTERS] pgsql: Fix handling of empty arrays in array_fill().

2017-01-05 Thread Tom Lane
Fix handling of empty arrays in array_fill(). array_fill(..., array[0]) produced an empty array, which is probably what users expect, but it was a one-dimensional zero-length array which is not our standard representation of empty arrays. Also, for no very good reason, it rejected empty input arr

[COMMITTERS] pgsql: Fix handling of empty arrays in array_fill().

2017-01-05 Thread Tom Lane
Fix handling of empty arrays in array_fill(). array_fill(..., array[0]) produced an empty array, which is probably what users expect, but it was a one-dimensional zero-length array which is not our standard representation of empty arrays. Also, for no very good reason, it rejected empty input arr

[COMMITTERS] pgsql: Fix handling of empty arrays in array_fill().

2017-01-05 Thread Tom Lane
Fix handling of empty arrays in array_fill(). array_fill(..., array[0]) produced an empty array, which is probably what users expect, but it was a one-dimensional zero-length array which is not our standard representation of empty arrays. Also, for no very good reason, it rejected empty input arr

[COMMITTERS] pgsql: Fix handling of empty arrays in array_fill().

2017-01-05 Thread Tom Lane
Fix handling of empty arrays in array_fill(). array_fill(..., array[0]) produced an empty array, which is probably what users expect, but it was a one-dimensional zero-length array which is not our standard representation of empty arrays. Also, for no very good reason, it rejected empty input arr