mirror of
https://github.com/postgres/postgres.git
synced 2025-08-30 06:01:21 +03:00
Update some obsolete comments.
Fix a few stray references to expression eval functions that don't exist anymore or don't take the same input representation they used to.
This commit is contained in:
@@ -354,8 +354,8 @@ make_and_qual(Node *qual1, Node *qual2)
|
||||
}
|
||||
|
||||
/*
|
||||
* Sometimes (such as in the input of ExecQual), we use lists of expression
|
||||
* nodes with implicit AND semantics.
|
||||
* The planner frequently prefers to represent qualification expressions
|
||||
* as lists of boolean expressions with implicit AND semantics.
|
||||
*
|
||||
* These functions convert between an AND-semantics expression list and the
|
||||
* ordinary representation of a boolean expression.
|
||||
|
2
src/backend/utils/cache/relcache.c
vendored
2
src/backend/utils/cache/relcache.c
vendored
@@ -4743,7 +4743,7 @@ RelationGetIndexExpressions(Relation relation)
|
||||
* RelationGetIndexPredicate -- get the index predicate for an index
|
||||
*
|
||||
* We cache the result of transforming pg_index.indpred into an implicit-AND
|
||||
* node tree (suitable for ExecQual).
|
||||
* node tree (suitable for use in planning).
|
||||
* If the rel is not an index or has no predicate, we return NIL.
|
||||
* Otherwise, the returned tree is copied into the caller's memory context.
|
||||
* (We don't want to return a pointer to the relcache copy, since it could
|
||||
|
Reference in New Issue
Block a user