Well, that has the C library support mixed in with a ton of other stuff.
What's really needed is a "library" (or whatever the rust term is) that
provides the same functionality that [1] and [2] provide at the C level
today. Ideally the Postgres project would support that since it involves
C structures that can potentially change between versions... but I
wouldn't hold your breath on it... hence the need for a rust "library".
1: https://www.postgresql.org/docs/9.5/static/xfunc-c.html
2: https://www.postgresql.org/docs/9.5/static/spi.html
On 8/2/16 12:21 AM, Priya Ranjan wrote:
Rather have look at https://github.com/posix4e/jsoncdc
On 01-Aug-2016 1:16 am, "Jim Nasby" <jim.na...@bluetreble.com> wrote:
On 7/30/16 1:08 AM, Priya Ranjan wrote:
Thanks Greg, but not as a binding but a substitute for C++ code, as this
code is untrusted there could be an exception bringing down the entire
server. Rustlang guarantees memory safety.
https://github.com/thehydroimpulse/postgres-extension.rs appears to be
the magic sauce that would allow using rust inside Postgres. I don't know
how stable it is, or what versions it supports. It might need special code
to support Green Plum too.
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532) mobile: 512-569-9461
--
Jim Nasby, Data Architect, Blue Treble Consulting, Austin TX
Experts in Analytics, Data Architecture and PostgreSQL
Data in Trouble? Get it in Treble! http://BlueTreble.com
855-TREBLE2 (855-873-2532) mobile: 512-569-9461