-
Notifications
You must be signed in to change notification settings - Fork 70
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
embedded documents update for array elements lead to postgres restart #155
Comments
Thanks, @zhang699 for reporting an issue. I can reproduce the same issue at my end. This is a bug. The root cause of the issue is that while preparing the query document, We will work on this issue in near future. |
Great !! |
For the array element, in the meta driver, we should be appending the value to the child document. However, mistakenly we were adding the value to the main query document leading to the server crash. Fix the same by correctly passing the child document to bsonAppendUTF8(). Reported on GitHub through issue #155 by zhang699. FDW-466, Vaibhav Dalvi, reviewed by Suraj Kharage, tested by Ajay Pal.
Hi @zhang699 , The reported issue has been resolved. |
I have use
pgAdmin
GUI to test embedded update bymongo_fdw
Tested Documents
SQL Schema
The text was updated successfully, but these errors were encountered: