risingwave_frontend::handler::util

Function pg_value_format

source
pub fn pg_value_format(
    data_type: &DataType,
    d: ScalarRefImpl<'_>,
    format: Format,
    session_data: &StaticSessionData,
) -> Result<Bytes, RwError>
Expand description

Format scalars according to postgres convention.