Re: Berkeley DB... - Mailing list pgsql-hackers

From Michael A. Olson
Subject Re: Berkeley DB...
Date
Msg-id 200005220127.SAA94412@triplerock.olsons.net
Whole thread Raw
In response to Re: Berkeley DB...  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
At 10:14 AM 5/22/00 +0900, Tatsuo Ishii wrote:

> Can I ask you a simple question? Does Berkeley DB support encodings
> other than ASCII?

Berkeley DB is entirely agnostic on data types.  We store and retrieve
keys and values; you define the types and assign semantics to them.
We've got a number of customers storing wide character data in various
encodings and character sets in Berkeley DB.

Our default btree comparator and hash function are simple bit string
operators.  You'd need to write a comparison function for btrees that
understood the collating sequence of the character set you store.
                mike



pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Berkeley DB...
Next
From: Chris Bitmead
Date:
Subject: Re: Thus spoke SQL3 (on OO)