pgrx_pg_sys::submodules::utils

Function name_data_to_str

Source
pub fn name_data_to_str(name_data: &NameData) -> &str
Expand description

Converts a pg_sys::NameData struct into a &str.

This is a zero-copy operation and the returned &str is tied to the lifetime of the provided pg_sys::NameData