Re: [RFC] new digest datatypes, or generic fixed-len hex types? - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: [RFC] new digest datatypes, or generic fixed-len hex types?
Date
Msg-id 200907301110.13603.peter_e@gmx.net
Whole thread Raw
In response to Re: [RFC] new digest datatypes, or generic fixed-len hex types?  (decibel <decibel@decibel.org>)
List pgsql-hackers
On Wednesday 29 July 2009 20:16:48 decibel wrote:
> bytea doesn't cast well to and from text when you're dealing with hex
> data; you end up using the same amount of space as a varchar. What
> would probably work well is a hex datatype that internally works like
> bytea but requires that the input data is hex (I know you can use
> encode/decode, but that added step is a pain). A similar argument
> could be made for base64 encoded data.

There is a patch in the queue that adds hex input and output to bytea.


pgsql-hackers by date:

Previous
From: karpov@sao.ru (Sergey V. Karpov)
Date:
Subject: Re: improvements for dict_xsyn extended synonym dictionary - RRR
Next
From: KaiGai Kohei
Date:
Subject: Re: SE-PostgreSQL Specifications