Closed eeeebbbbrrrr closed 3 weeks ago
The #[pg_cast] macro does two things. It creates a regular UDF and it then generates the appropriate CREATE CAST sql.
#[pg_cast]
CREATE CAST
Ultimately, the cast is just a function so we should support all the attibutes that #[pg_extern] supports.
#[pg_extern]
The
#[pg_cast]
macro does two things. It creates a regular UDF and it then generates the appropriateCREATE CAST
sql.Ultimately, the cast is just a function so we should support all the attibutes that
#[pg_extern]
supports.