aboutsummaryrefslogtreecommitdiff
path: root/src/test/perl/PostgreSQL/Test/Cluster.pm
diff options
context:
space:
mode:
authorDavid Rowley <drowley@postgresql.org>2023-02-13 23:38:21 +1300
committerDavid Rowley <drowley@postgresql.org>2023-02-13 23:38:21 +1300
commitec5a010ab25bf40012fde78b34724971e38e08a4 (patch)
tree617773338050b68f053354767ed3332d207e7dbf /src/test/perl/PostgreSQL/Test/Cluster.pm
parentbd944884e92af7082063428a1124a15041597c33 (diff)
downloadpostgresql-ec5a010ab25bf40012fde78b34724971e38e08a4.tar.gz
postgresql-ec5a010ab25bf40012fde78b34724971e38e08a4.zip
Fix pfree issue in presorted DISTINCT aggregate code
The logic in this area was recently changed in 7da51590e, however, in that commit, I neglected to consider that the conditions in which we should pfree the old Datum needed to be updated after that change. This could result in trying to pfree a NULL value, as was demonstrated by Alexander Lakhin. Reported-by: Alexander Lakhin Discussion: https://postgr.es/m/4103db46-d888-6d1d-e88d-87c21ed99472@gmail.com
Diffstat (limited to 'src/test/perl/PostgreSQL/Test/Cluster.pm')
0 files changed, 0 insertions, 0 deletions