1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-04 20:11:56 +03:00
Files
postgres/src/backend
Tom Lane e0e492e5a9 Track nesting depth correctly when drilling down into RECORD Vars.
expandRecordVariable() failed to adjust the parse nesting structure
correctly when recursing to inspect an outer-level Var.  This could
result in assertion failures or core dumps in corner cases.

Likewise, get_name_for_var_field() failed to adjust the deparse
namespace stack correctly when recursing to inspect an outer-level
Var.  In this case the likely result was a "bogus varno" error
while deparsing a view.

Per bug #18077 from Jingzhou Fu.  Back-patch to all supported
branches.

Richard Guo, with some adjustments by me

Discussion: https://postgr.es/m/18077-b9db97c6e0ab45d8@postgresql.org
2023-09-15 17:01:52 -04:00
..
2023-09-15 19:05:57 +02:00
2023-02-17 14:26:42 +09:00
2023-08-07 09:28:47 +01:00
2023-09-08 15:05:12 +02:00
2023-01-18 10:26:15 -08:00
2023-08-25 13:31:24 +02:00
2023-08-07 12:39:30 +02:00
2023-08-07 09:28:47 +01:00
2023-08-20 15:35:02 +09:00
2023-05-10 13:51:51 +02:00