Re: Customised Encoding

From: Richard Huxton <dev(at)archonet(dot)com>
To: "kumar" <sgnerd(at)yahoo(dot)com(dot)sg>, "pgsql" <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Customised Encoding
Date: 2004-04-27 12:09:55
Message-ID: 200404271309.55818.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message kumar 2004-04-27 12:26:04 How to get binary value for an Integer
Previous Message Richard Huxton 2004-04-27 12:06:42 Re: Proper SQL syntax requested