On 2/7/17 9:16 AM, Daniele Varrazzo wrote:
> Thank you for the clarification: I will assume the behaviour cannot be
> maintained on PG 10 and think whether the treatment of '{}' is too
> magical and drop it instead.
BTW, I would hope that passing '{}' into a defined array field still
works, since an empty array isn't treated the same as NULL, which means
you need some way to create an empty array.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532)