Re: BUG #14876: Segmentation fault with JSONB column used in store proc that gets used by view and later altered
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: samuel.horwitz@gmail.com,
PostgreSQL mailing lists <pgsql-bugs@postgresql.org>
Date: 2017-10-26T20:42:36Z
Lists: pgsql-bugs
Attachments
- make-expandRTE-cope-with-new-columns.patch (text/x-diff) patch
Michael Paquier <michael.paquier@gmail.com> writes: > I haven't looked at this thing in details. But this data may not be > present forever, say github.com is down or is removed from existence. > So if you can, please always attach any self-contained test case in a > way that it is saved in the archives of postgresql.org. In this case, > that would have been to email directly pgsql-bugs instead of using the > website form. Thanks for posting the reproducer. The attached seems to fix it, but now that I've seen this, I wonder if there are other similar cases. regards, tom lane
Commits
-
Fix crash when columns have been added to the end of a view.
- d5b760ecb5e1 11.0 landed
- ddde3b4f3e88 10.1 landed
- acd3287e437e 9.5.10 landed
- 9d15b8b36a91 9.3.20 landed
- 80e79718d0ea 9.2.24 landed
- 7e5e8b36d478 9.6.6 landed
- 66104119e1fb 9.4.15 landed