mirror of
https://github.com/postgres/postgres.git
synced 2025-11-06 07:49:08 +03:00
Such queries don't expand automatically updatable views, and ModifyTable uses the wholerow attribute unconditionally. The user-visible behavior is fine, so change to more-specific assertions. Commitd5f788b41dadded the wrong assertion. Back-patch to v17, where commit5f2e179bd3introduced MERGE view_name. Reported by Alexander Lakhin. Discussion: https://postgr.es/m/e4b40a88-c134-6926-3196-bc4501cb87a2@gmail.com
150 KiB
150 KiB