postgresql/src
Andres Freund 249126e761 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 bf6c614a2f.

Reported-By: Rajkumar Raghuwanshi
Author: Amit Langote
Discussion:  https://postgr.es/m/CAKcux6kmzWmur5HhA_aU6gYVFu0RLQdgJJ+aC9SLdcOvBSrpfA@mail.gmail.com
Backpatch: 11-
2018-07-04 17:36:01 -07:00
..
backend Use context with correct lifetime in hypothetical_dense_rank_final. 2018-07-04 17:36:01 -07:00
bin Add $Test::Builder::Level to pgbench test functions 2018-07-03 23:22:01 +02:00
common Adjust error message 2018-06-11 17:19:11 -04:00
fe_utils Post-feature-freeze pgindent run. 2018-04-26 14:47:16 -04:00
include Improve the performance of relation deletes during recovery. 2018-07-05 02:23:46 +09:00
interfaces Stamp HEAD as 12devel 2018-06-30 12:47:59 -04:00
makefiles Remove Windows module-list-dumping code. 2018-04-30 13:20:13 -04:00
pl Reword SPI_ERROR_TRANSACTION errors in PL/pgSQL 2018-06-26 11:38:46 +02:00
port Stamp HEAD as 12devel 2018-06-30 12:47:59 -04:00
template Force "restrict" not to be used when compiling with xlc. 2017-10-13 12:15:06 -07:00
test Use context with correct lifetime in hypothetical_dense_rank_final. 2018-07-04 17:36:01 -07:00
timezone Update time zone data files to tzdata release 2018e. 2018-05-09 13:56:22 -04:00
tools Use more modern instructions for creating a new dev cycle 2018-07-01 07:55:05 -04:00
tutorial Update copyright for 2018 2018-01-02 23:30:12 -05:00
.gitignore
DEVELOPERS
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Un-break contrib install with llvm. 2018-04-28 14:45:39 -04:00
Makefile.shlib Prevent accidental linking of system-supplied copies of libpq.so etc. 2018-04-03 16:26:05 -04:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00