Files
postgresql/src
Tom Lane c50d192ce3 Fix ts_delete(tsvector, text[]) to cope with duplicate array entries.
Such cases either failed an Assert, or produced a corrupt tsvector in
non-Assert builds, as reported by Andreas Seltenreich.  The reason is
that tsvector_delete_by_indices() just assumed that its input array had
no duplicates.  Fix by explicitly de-duping.

In passing, improve some comments, and fix a number of tests for null
values to use ERRCODE_NULL_VALUE_NOT_ALLOWED not
ERRCODE_INVALID_PARAMETER_VALUE.

Discussion: <87invhoj6e.fsf@credativ.de>
2016-08-05 15:14:19 -04:00
..
2016-06-09 18:02:36 -04:00
2016-05-15 17:04:01 -04:00
2016-08-02 22:33:56 -04:00
2016-01-28 16:47:36 +09:00
2016-06-09 18:02:36 -04:00
2016-01-02 13:33:40 -05:00