On Tue, Aug 1, 2017 at 4:00 PM, Ildus K <i.kurbangal...@postgrespro.ru> wrote: > It's a workaround. DatumGetTSVector and > DatumGetTSVectorCopy will upgrade tsvector on the fly if it > has old format.
Hmm, that seems like a real fix, not just a workaround. If you can transparently read the old format, there's no problem. Not sure about performance, though. The patch doesn't really conform to our coding standards, though, so you need to clean it up (or, if you're not sure what you need to do, you need to have someone who knows how PostgreSQL code needs to look review it for you). -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers