Re: Rust bindings to pgtypes lib

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: 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:26:29
Message-ID: 476c3548-c122-d7b5-84a1-4ef87e47e31e@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> 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.

> Makefile.global, and also includes stuff from ecpg, aat least. I don't want to

Yes, but these should be minor. Makefile.global is mostly included for
some rules and other than some includes I don't know what else is taken
from ecpg.

However, there are a couple small files that are taken from teh backend
source tree, like pgstrcasecmp.c

> 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.

Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2017-07-06 18:29:33 Re: Rust bindings to pgtypes lib
Previous Message Justin Pryzby 2017-07-06 18:04:20 huge RAM use in multi-command ALTER of table heirarchy