diff options
author | Andres Freund <andres@anarazel.de> | 2018-07-04 17:36:01 -0700 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2018-07-04 17:36:19 -0700 |
commit | e60cfcefe635b90bab60e885be689700759a01c6 (patch) | |
tree | 324f3b82f5668beafda0832e0ed2e93f328f49d6 /src/backend/access/transam/xlog.c | |
parent | 0c69db762d886ce2c2b0cb311e24ab76c4740c0b (diff) | |
download | postgresql-e60cfcefe635b90bab60e885be689700759a01c6.tar.gz postgresql-e60cfcefe635b90bab60e885be689700759a01c6.zip |
Use context with correct lifetime in hypothetical_dense_rank_final.
The query lifetime expression context created in
hypothetical_dense_rank_final() was buggily allocated in the calling
memory context. I (Andres) broke that in bf6c614a2f2.
Reported-By: Rajkumar Raghuwanshi
Author: Amit Langote
Discussion: https://postgr.es/m/CAKcux6kmzWmur5HhA_aU6gYVFu0RLQdgJJ+aC9SLdcOvBSrpfA@mail.gmail.com
Backpatch: 11-
Diffstat (limited to 'src/backend/access/transam/xlog.c')
0 files changed, 0 insertions, 0 deletions