Skip to main content

deparse_relation_expression

Function deparse_relation_expression 

Source
pub fn deparse_relation_expression(
    text: &str,
    relid: u32,
    session: &dyn Session,
) -> Result<String>
Expand description

deparse_expression of a stored expression of the relation relid, with the names of its columns, as pg_get_expr gives it. The relation 0 gives an expression with no columns, such as the check of a domain.

ยงErrors

An internal error for a relation that the catalog does not have, and the errors of the deparse.