Re: tsearch refactorings - Mailing list pgsql-patches

From Heikki Linnakangas
Subject Re: tsearch refactorings
Date
Msg-id 46E02ED1.4060508@enterprisedb.com
Whole thread Raw
In response to Re: tsearch refactorings  (Teodor Sigaev <teodor@sigaev.ru>)
Responses Re: tsearch refactorings  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
Teodor Sigaev wrote:
> Heikki Linnakangas wrote:
>> In any case, I think we need to calculate the CRC/hash in tsqueryrecv,
>> instead of trusting the client.
> Agreed.

I started to write a patch for that, as I realized that we're
transferring the strings in a tsvector/tsquery in server encoding.
That's not good, right? A dump created with COPY ... BINARY wouldn't be
portable across clusters with different encodings, for example.

--
  Heikki Linnakangas
  EnterpriseDB   http://www.enterprisedb.com

pgsql-patches by date:

Previous
From: "Heikki Linnakangas"
Date:
Subject: Re: HOT patch - version 15
Next
From: "Heikki Linnakangas"
Date:
Subject: Re: HOT patch - version 15