Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit244dd95

Browse files
committed
Update some obsolete comments.
Fix a few stray references to expression eval functions that don'texist anymore or don't take the same input representation they used to.
1 parent6a101b0 commit244dd95

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

‎src/backend/optimizer/util/clauses.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -354,8 +354,8 @@ make_and_qual(Node *qual1, Node *qual2)
354354
}
355355

356356
/*
357-
*Sometimes (such as in the input of ExecQual), we use lists of expression
358-
*nodes with implicit AND semantics.
357+
*The planner frequently prefers to represent qualification expressions
358+
*as lists of boolean expressions with implicit AND semantics.
359359
*
360360
* These functions convert between an AND-semantics expression list and the
361361
* ordinary representation of a boolean expression.

‎src/backend/utils/cache/relcache.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4743,7 +4743,7 @@ RelationGetIndexExpressions(Relation relation)
47434743
* RelationGetIndexPredicate -- get the index predicate for an index
47444744
*
47454745
* We cache the result of transforming pg_index.indpred into an implicit-AND
4746-
* node tree (suitable forExecQual).
4746+
* node tree (suitable foruse in planning).
47474747
* If the rel is not an index or has no predicate, we return NIL.
47484748
* Otherwise, the returned tree is copied into the caller's memory context.
47494749
* (We don't want to return a pointer to the relcache copy, since it could

‎src/pl/plpgsql/src/pl_exec.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4759,7 +4759,7 @@ exec_assign_value(PLpgSQL_execstate *estate,
47594759
* fixed-length array types we skip the assignment. We can't
47604760
* support assignment of a null entry into a fixed-length
47614761
* array, either, so that's a no-op too. This is all ugly but
4762-
* corresponds to the current behavior ofExecEvalArrayRef().
4762+
* corresponds to the current behavior ofexecExpr*.c.
47634763
*/
47644764
if (arrayelem->arraytyplen>0&&/* fixed-length array? */
47654765
(oldarrayisnull||isNull))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp