Pg-extend-rs
Infrastructure
database extension framework
SHOW HN2018
How HN took it
5 positive, 3 neutral or asking, 0 mixed, 0 critical, out of 8 comments about the project. Thread score +0.35.
Idea: 4 for, 0 againstPerformance: 1 for, 0 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Excited to try Rust and Postgres via the library, replacing C pain
From 1 comment
Ohhh this is great! I have had a query planner extension idea for a while but dealing with C bugged me a lot. I think that this might help me try some Rust ans some Postgres
rtpg on HN
Inspires new extension ideas such as full text search and fake data generation
From 1 comment
Curious how tantivvy performs for full text search, in comparison with the native one. This work inspires me. I am going to try to make a fake-rs extension to enable fake data…
Dowwie on HN
Objections
Rust types still need translating to Postgres Datums, so it is incomplete
From 1 comment
As warning, there’s still a bunch of work to translate various types from Rust to Postgres Datums. I’m interested in feedback on the library, so if you use it and experience any…
bluejekyll on HN
Rust-to-C string conversion may add some overhead
From 1 comment
Right now, the only additional overhead I can think of would be on transforms from Rust style Strings and &str's to C style CString and CStr's. Beyond that, I think it should be…
bluejekyll on HN
Requests
Maker asks for feedback and issue reports from users
From 1 comment
As warning, there’s still a bunch of work to translate various types from Rust to Postgres Datums. I’m interested in feedback on the library, so if you use it and experience any…
bluejekyll on HN
Questions
What is the purpose compared to a PL/pgSQL function?
From 1 comment
What's the purpose of this? Why this over a function in PL/pgSQL?
MuffinFlavored on HN
Does it add overhead compared to C/C++?
From 1 comment
Does it have additional overheard compared to rolling in C/c++?
InGodsName on HN
Alternatives named
PL/pgSQL
From 1 comment
What's the purpose of this? Why this over a function in PL/pgSQL?
MuffinFlavored on HN
Writing extensions in C
From 1 comment
That's a funny comparison. The much more obvious contrast would be to writing a Postgres extension in C. Or are you asking, "why have native DBMS extensions at all?" Looking at…
derefr on HN
Python or JavaScript (V8) Postgres bindings
From 1 comment
PostgreSQL has several bindings, including Python and JavaScript (V8). You might want to do complex value manipulation at the DB-level, like a regex-like operation, or processing…
paulddraper on HN