RE: Re: FW: New PostgreSQL Project

Поиск
Список
Период
Сортировка
От Clark, Joel
Тема RE: Re: FW: New PostgreSQL Project
Дата
Msg-id 69F195289743D411B428009027E293C401290E26@CLTEXCH1
обсуждение исходный текст
Список pgsql-interfaces
> this is great!  Should we take the next few weeks in 
> preparing what we'd
> like to see in a C++ API?  Plus I need a little time to become more
> familiar with current code base.  As a note I was wondering 
> what would be
> the advantages/disadvantages of *not* using the c interface 
> but writing
> the connection/parse routines directly in the C++ classes?  
> i.e. get away
> from having just wrapper classes.  On the plus side, I think 
> we gain in
> flexibility in design and implementation.  On the negative 
> side, we may be
> re-inventing the wheel, although I am partial to proceeding 
> in a complete
> rewrite.

The only reason I would be hesitant to write our own parsing/network
routines is that changes to the PG protocol would have to be duplicated in
our code.  If we wrap libpq, it will be version independent (as long as the
libpq interface doesn't change).  Plus the fact that we would be re-writing
code that is already quite stable (and useful, for that matter).

Joel


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

Предыдущее
От: Gabriel Lopez
Дата:
Сообщение: Re: wrong documentation and others .....
Следующее
От: Gabriel Lopez
Дата:
Сообщение: Re: wrong documentation and others .....