1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-02 09:02:37 +03:00
Files
postgres/src/backend
Tom Lane d931ac0ec4 Ignore extra subquery outputs in set_subquery_size_estimates().
In commit 0f61d4dd1b, I added code to copy up
column width estimates for each column of a subquery.  That code supposed
that the subquery couldn't have any output columns that didn't correspond
to known columns of the current query level --- which is true when a query
is parsed from scratch, but the assumption fails when planning a view that
depends on another view that's been redefined (adding output columns) since
the upper view was made.  This results in an assertion failure or even a
crash, as per bug #8025 from lindebg.  Remove the Assert and instead skip
the column if its resno is out of the expected range.
2013-03-31 18:34:15 -04:00
..
2013-03-28 09:18:02 +00:00
2013-03-10 14:16:02 -04:00
2013-01-01 17:15:01 -05:00
2013-03-17 12:06:42 -04:00
2013-03-17 12:06:42 -04:00
2013-03-10 14:16:02 -04:00
2011-08-17 14:07:46 +03:00
2013-03-17 12:06:42 -04:00
2013-01-01 17:15:01 -05:00
2013-01-01 17:15:01 -05:00
2013-02-21 22:46:17 -03:00