Re: possible TODOs - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: possible TODOs
Date
Msg-id 45CCA113.8090701@dunslane.net
Whole thread Raw
In response to Re: possible TODOs  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-hackers
Peter Eisentraut wrote:
> Am Freitag, 9. Februar 2007 16:45 schrieb Andrew Dunstan:
>   
>> . provide encode() for text values in addition to current bytea
>> . proved cast from text to bytea
>>     
>
> I'm not sure how exactly you want to define these, but some possible 
> defintions will be dependent on the server encoding, which sounds 
> troublesome.
>
>   


Well, the cast wasn't my suggestion, so I'll let that one slide  - 
someone else can pick it up if they like :P .

The encode() suggestion was to have it have the same effect as:   encode(byteain(varcharout(textvalue)),
'encodingtype')

Would it be such a worry to have that dependent on server encoding?

cheers

andrew


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: possible TODOs
Next
From: Tom Lane
Date:
Subject: Re: Re-ordering of OR conditions