Re: [QUESTIONS] ndbm emulation library?
| От | Leslie Mikesell |
|---|---|
| Тема | Re: [QUESTIONS] ndbm emulation library? |
| Дата | |
| Msg-id | 199803061807.MAA05889@Mercury.mcs.net обсуждение |
| Ответ на | Re: [QUESTIONS] ndbm emulation library? (The Hermit Hacker <scrappy@hub.org>) |
| Список | pgsql-interfaces |
> > > I'm confused, but...why would you want to do this vs using the
> > > standard libpq interface?
> >
> > I've already got apps using ndbm (and getting occasional file
> > corruption). I'd like to fix this and get the benefits of
> > multi-host access and the ability to write new code to access
> > the same data in all the ways possible with pgsql. If we had
> > a wrapper around libpq with ndbm emulation it would be as simple
> > as re-linking my old apps and migrating the data.
>
> So you basically want to "hide" the SQL commands behind ndbm
> compatible function calls? Have you looked into what is involved? Do you
> want to work on an 'interfaces/ndbm' library? *raised eyebrows*
I was hoping someone had already done it. Other than generalizing
the dbm_open() routine it seems pretty straightforward and it
would take the same amount of work to convert a single app to
use sql directly.
Les Mikesell
les@mcs.com
В списке pgsql-interfaces по дате отправления: