pub fn refuse_correlated_derived(
err: SqlError,
factor: &TableFactor,
from_names: &[String],
) -> SqlErrorExpand description
The refusal for a derived table without LATERAL that refers to
another relation of the same FROM clause.
The body is planned on its own, so such a reference fails to resolve.
PostgreSQL refuses it and points to LATERAL, and so does this. Any
other error passes through unchanged.