Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix generation of dummy_pathid in nonconflict ctes #3848

Merged
merged 1 commit into from
May 10, 2022
Merged

Conversation

msullivan
Copy link
Member

Since the relevant rel wasn't in the hierarchy, the search for the
enclosing volatility ref wasn't succeeding, and when nonconflict CTEs
were used in a for loop, sometimes things could get
duplicated. (Depending on the vagaries of how pg orders the loops, I
think).

Fixes #3847.

Since the relevant rel wasn't in the hierarchy, the search for the
enclosing volatility ref wasn't succeeding, and when nonconflict CTEs
were used in a for loop, sometimes things could get
duplicated. (Depending on the vagaries of how pg orders the loops, I
think).

Fixes #3847.
@msullivan msullivan requested a review from elprans May 10, 2022 16:31
@msullivan msullivan merged commit e33f554 into master May 10, 2022
@msullivan msullivan deleted the iter-fail branch May 10, 2022 16:46
msullivan added a commit that referenced this pull request May 10, 2022
Since the relevant rel wasn't in the hierarchy, the search for the
enclosing volatility ref wasn't succeeding, and when nonconflict CTEs
were used in a for loop, sometimes things could get
duplicated. (Depending on the vagaries of how pg orders the loops, I
think).

Fixes #3847.
@msullivan
Copy link
Member Author

Cherry picked for 1.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem with Bulk Inserts And Unique Constraint Violations
2 participants