Hello all,
I'd like to add new optional function to text search template named fini in addition to init() and lexize(). It will be called by RemoveTSDictionaryById() and AlterTSDictionary(). dispell_fini() will call ts_dict_shmem_release().
It doesn't change segments leaking situation. I think it makes text search API more transparent.
I'll update the existing documentation. And I think I can add text search API documentation in the 2018-09 commitfest, as Tom noticed that it doesn't exist.
Any thoughts?
--
Arthur Zakirov
Postgres Professional:
http://www.postgrespro.comRussian Postgres Company