Re: How do I use the backend APIs - Mailing list pgsql-general

From Qingqing Zhou
Subject Re: How do I use the backend APIs
Date
Msg-id dt3gdm$kja$1@news.hub.org
Whole thread Raw
In response to How do I use the backend APIs  ("Chad" <chadzakary@hotmail.com>)
Responses Re: How do I use the backend APIs  (Neil Conway <neilc@samurai.com>)
List pgsql-general
"Chad" <chadzakary@hotmail.com> wrote
>
> In Postgres, is there a C language API which would give me access to
> BTrees like Berkeley DB does? eg to seek to a particular key/value pair
> and iterate forward from there?

AFAIK there is no such API for this purpose. The reason is that to access
BTree, you have to setup complex enough environment to enable so. For
example, the buffer pool support, the WAL support etc. So though exporting
such API is easy to do, there is no pratical usage of it.

Regards,
Qingqing



pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: How do I use the backend APIs
Next
From: Neil Conway
Date:
Subject: Re: How do I use the backend APIs