Re: Berkeley DB...

From: "Michael A(dot) Olson" <mao(at)sleepycat(dot)com>
To: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Berkeley DB...
Date: 2000-05-22 01:25:07
Message-ID: 200005220127.SAA94412@triplerock.olsons.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Chris Bitmead 2000-05-22 01:28:51 Re: Thus spoke SQL3 (on OO)
Previous Message Tatsuo Ishii 2000-05-22 01:14:31 Re: Berkeley DB...