Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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


pgsql-sql by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group