Dann Corbit wrote:

> If the server bound the data as UNICODE, then it will tell me
> UNICODE(3).  I know how big this will be.
> In the worst case scenario it will fit in 3*4 = 12 bytes.
> If the server is built without UNICODE enabled, then it will definitely
> fit in 3 bytes.

Unless it's some other multibyte encoding.  And nowadays, the server is
always "unicode enabled".  The stuff sent down the wire is unicode or
not depending on a configuration parameter.

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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?


Reply via email to