Re: Rust bindings to pgtypes lib

From: Andres Freund <andres(at)anarazel(dot)de>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: Kaare Rasmussen <kaare(at)jasonic(dot)dk>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Rust bindings to pgtypes lib
Date: 2017-07-06 18:29:33
Message-ID: 20170706182933.oupg4rf42bgu5csn@alap3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2017-07-06 18:56:45 Re: [COMMITTERS] pgsql: pg_test_timing: Add NLS
Previous Message Michael Meskes 2017-07-06 18:26:29 Re: Rust bindings to pgtypes lib