A couple hours' poking at the patch yielded the attached two diffs
Thanks Tom!
and the realization that list_difference_private cannot work, because its first call to list_append_auto will crash due to new_list being NIL.
Yeah, I noticed an analogous problem in list_union(), I'd been meaning to take a look at list_difference(). I'll post an updated patch tomorrow.
-Neil
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org