gregfelice commented on PR #2444: URL: https://github.com/apache/age/pull/2444#issuecomment-4773185821
Ready for review. - Fix verified in a clean PG18 build: `WHERE (a:Person)` / `EXISTS((a:Person))` now filter correctly (correlated `SubPlan` on `_extract_label_id(a.id) = <label_id>`) instead of producing a trivially-true uncorrelated one-time `InitPlan`. - Full regression suite green (41/41), `regression.diffs` empty, including the new `pattern_expression` cases. - Scope kept tight: only correlated bound vertices with a non-default label are affected; plain `MATCH (a:Person)` and "does any X exist" `EXISTS` checks are unchanged. - The pre-existing single-node-pattern NOTE in `pattern_expression.sql` was updated to reflect the corrected behavior (and the orthogonal, still-present "multiple labels" projection limitation). Fixes #2443. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
