diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2023-05-25 12:36:18 +0200 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2023-05-25 12:36:18 +0200 |
commit | 8f5e42d3346924b5d6330208d62ec1b19fdbc110 (patch) | |
tree | 84450645d8944e28206b0ec1ad3ac156fec5632d /contrib/postgres_fdw/postgres_fdw.c | |
parent | ecb968e7e3da69a39d3efab69fa63fe6c8d04b5f (diff) | |
download | postgresql-8f5e42d3346924b5d6330208d62ec1b19fdbc110.tar.gz postgresql-8f5e42d3346924b5d6330208d62ec1b19fdbc110.zip |
Fix pgbench in prepared mode with an empty pipeline
It crashes because it references memory that's not allocated in that
particular case. Fix by allocating it.
Reported-by: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/bcf802a6-afc1-95b9-7bf4-c5dd868ec144@gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions