Re: How do I use the backend APIs

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: How do I use the backend APIs
Дата
Msg-id 20060217222451.GF9254@svana.org
обсуждение исходный текст
Ответ на Re: How do I use the backend APIs  ("Chad" <chadzakary@hotmail.com>)
Список pgsql-general
On Fri, Feb 17, 2006 at 01:06:16AM -0800, Chad wrote:
> In a word: The kind of problems people use Berkeley DB for.
>
> People use BDB for more fine grained cursor access to BTrees. Stuff you
> CANNOT do with SQL. There is a market for this. See their website. I'd
> like something similar from Postgres so that the data would be stored
> in a full fledged RDBMS but I could use the cursor methods for
> searching more efficient than SQL. Best of both worlds.

Well, just the brief look at the docs doesn't immediatly reveal
anything that couldn't be done with straight SQL and server side
functions. It would be helpful if you could give an example of what you
actually want to do.

> I've had a quick browse around the Postgres code and found some
> functions like "_bt_first()" but no sample code to use it. BTW its for
> developing an alternative server based access to the underlying
> relational data.

Well, that function is several levels below where you need to be
looking. Using it directly will probably get you into a world of hurt.
BTW, what does "alternative server based access to the underlying
relational data" mean?

Have a nice day,
--
Martijn van Oosterhout   <kleptog@svana.org>   http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Вложения

В списке pgsql-general по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Converting an ASCII database to an UTF-8 database
Следующее
От: Ragnar
Дата:
Сообщение: Re: Converting an ASCII database to an UTF-8 database