Re: [HACKERS] Rust bindings to pgtypes lib

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: [HACKERS] Rust bindings to pgtypes lib
Дата
Msg-id 20170706182933.oupg4rf42bgu5csn@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: [HACKERS] Rust bindings to pgtypes lib  (Michael Meskes <meskes@postgresql.org>)
Ответы Re: [HACKERS] Rust bindings to pgtypes lib  (Michael Meskes <meskes@postgresql.org>)
Re: [HACKERS] Rust bindings to pgtypes lib  (Kaare Rasmussen <kaare@jasonic.dk>)
Список pgsql-hackers
Hi,

On 2017-07-06 20:26:29 +0200, Michael Meskes wrote:
> > But is this possible, or feasible? I see that the makefile refers to 
> 
> Possible yes, but in general I'm not a big fan of duplicating code. I
> spend too much time to keep those copies in sync.

Indeed. I'm quite strongly against exposing / using pgtypeslib in more
places. If anything it should be phased out. Because that code is
definitely not always kept up2date, and it's a lot of work to do so.  If
anything the code should be rewritten to *not* require so much
duplication, then we could talk.


> > How much of the source tree would I have to carve out?
> > Or from another perspective; how do other language (if any) solve this?
> 
> I'm not aware of any other language binding for pgtypeslib.

Some people use http://libpqtypes.esilo.com/

Greetings,

Andres Freund



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

Предыдущее
От: Michael Meskes
Дата:
Сообщение: Re: [HACKERS] Rust bindings to pgtypes lib
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: [HACKERS] [COMMITTERS] pgsql: pg_test_timing: Add NLS