[COMMITTERS] pgsql: Doc: fix thinko in v10 release notes.

2017-07-18 Thread Tom Lane
Doc: fix thinko in v10 release notes. s/log_destination/log_directory/, per Jov in bug #14749. Report: https://postgr.es/m/20170718082444.9229.99...@wrigleys.postgresql.org Branch -- master Details --- https://git.postgresql.org/pg/commitdiff/fb9bd4b0469e06d96c8cfff86d231401b0916736 Mo

[COMMITTERS] pgsql: Fix serious performance problems in json(b) to_tsvector().

2017-07-18 Thread Tom Lane
Fix serious performance problems in json(b) to_tsvector(). In an off-list followup to bug #14745, Bob Jones complained that to_tsvector() on a 2MB jsonb value took an unreasonable amount of time and space --- enough to draw the wrath of the OOM killer on his machine. On my machine, his example pr

[COMMITTERS] pgsql: Improve make_tsvector() to handle empty input, and simplify its

2017-07-18 Thread Tom Lane
Improve make_tsvector() to handle empty input, and simplify its callers. It seemed a bit silly that each caller of make_tsvector() was laboriously special-casing the situation where no lexemes were found, when it would be easy and much more bullet-proof to make make_tsvector() handle that. Branch