On Wed, Aug 9, 2017 at 7:38 PM, Robert Haas <robertmh...@gmail.com> wrote:
> On Tue, Aug 1, 2017 at 4:00 PM, Ildus K <i.kurbangal...@postgrespro.ru>
> > 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.
Ildus, I think we need to benchmark reading of the old format. There would
be tradeoff between performance of old format reading and amount of extra
code needed. Once we will have benchmarks we can consider whether this is
the solution we would like to buy.
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company