-
मूल रूप से Postgres में ElasticSearch को इंटीग्रेट करके full-text search करने वाले ZomboDB extension को Rust में फिर से लागू करने के लिए विकसित किया गया
-
Postgres v10~v12 को सपोर्ट करता है
-
cargo pgxकमांड से extension बनाना, compile करना, install करना और test करना संभव है -
pgx::IntoDatum/FromDatumके जरिए Datum को Rust types में बदला जा सकता है -
Rust के
panic!()को Postgres ERROR में बदलता है
1 टिप्पणियां
आम तौर पर PostgreSQL extension का उपयोग अक्सर ऐसे data structure या data type को support करने के लिए किया जाता है जिन्हें PG support नहीं करता
उदाहरण के लिए PostgreSQL Multiple Precision Arithmetic extension https://github.com/dvarrazzo/pgmp
pgx एक framework है जो Rust का उपयोग करके ऐसे extension को आसानी से बनाने में मदद करता है