thehydroimpulse/postgres-extension.rs

Safe Interface

thehydroimpulse opened this issue · 0 comments

A few ideas I've had:

  • Remove the need to export extern functions using an attribute.
  • Super easy to work with data types like PgText, int16, etc... that can convert easily to a datum.
#[pg_export]
pub fn foobar(args: PgArgs) -> PgDatum {
    // ...
}