Re: Customised Encoding - Mailing list pgsql-sql

From Richard Huxton
Subject Re: Customised Encoding
Date
Msg-id 200404271309.55818.dev@archonet.com
Whole thread Raw
In response to Customised Encoding  ("kumar" <sgnerd@yahoo.com.sg>)
List pgsql-sql
On Tuesday 27 April 2004 07:54, kumar wrote:
> Dear Friends,
>
> Postgres 7.3.2 Runing on Linux 7.2
>
> I would like to convert any values in between 1 to 2^16 into a single
> charactor. And decode that single char to get back the numeric value again.
> Any function to do that in Postgres SQL Server.

You could use unicode (e.g. UTF-8) encoding. I don't see what it gains you 
though. What do you hope to achieve by storing numerical data as characters?

--  Richard Huxton Archonet Ltd


pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Proper SQL syntax requested
Next
From: "kumar"
Date:
Subject: How to get binary value for an Integer