| From: | David Rowley <drowley(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Revert "Optimize various aggregate deserialization functions" |
| Date: | 2023-10-10 01:17:27 |
| Message-ID: | E1qq1NG-000rk1-F4@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Revert "Optimize various aggregate deserialization functions"
This reverts commit 608fd198def5390c3490bfe903730207dfd8eeb4.
On 2nd thoughts, the StringInfo API requires that strings are NUL
terminated and pointing directly to the data in a bytea Datum isn't NUL
terminated.
Discussion: https://postgr.es/m/CAApHDvorfO3iBZ=xpiZvp3uHtJVLyFaPBSvcAhAq2HPLnaNSwQ@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/4f3b56eea23554e1756a26080db273156f23f4f2
Modified Files
--------------
src/backend/utils/adt/array_userfuncs.c | 24 ++++++++---------
src/backend/utils/adt/numeric.c | 48 ++++++++++++++++-----------------
src/backend/utils/adt/varlena.c | 12 ++++-----
3 files changed, 42 insertions(+), 42 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2023-10-10 03:50:30 | pgsql: Fix possible crash in add_paths_to_append_rel() |
| Previous Message | Michael Paquier | 2023-10-10 00:07:08 | pgsql: worker_spi: Fix another stability issue with BGWORKER_BYPASS_ALL |