Search Postgresql Archives

Re: bytea encode performance issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Merlin Moncure escribió:

> er, I see the problem (single piece of text with multiple encodings
> inside) :-).  ok, it's more complicated than I thought.  still, you
> need to convert the email to utf8.  There simply must be a way,
> otherwise your emails are not well defined.  This is a client side
> problem...if you push it to the server in ascii, you can't use any
> server side text operations reliably.

I think the solution is to get the encoding from the email header and
the set the client_encoding to that.  However, as soon as an email with
an unsopported encoding comes by, you are stuck.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux