pgcentralfoundation / pgrx

Build Postgres Extensions with Rust!
Other
3.42k stars 223 forks source link

add bindings of fmgroids.h, OIDs of built-in functions #1726

Closed usamoi closed 1 month ago

usamoi commented 1 month ago

fmgroids.h is helpful to perform an index scan.

For example, https://github.com/apache/age/blob/ef9e0bd67bb8c342c4f6dd04761e2c4b3a3a5f80/src/backend/catalog/ag_graph.c#L74. It uses F_NAMEEQ to perform a search for catalog defined by extension.