Fix wrong construct_array_builtin() call in GUCArrayDelete()

Alexander Korotkov <akorotkov@postgresql.org>

Commit: db93e739ac61332126207b16f14da93f8ecac594
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2023-04-27T19:06:14Z
Releases: 16.0
Fix wrong construct_array_builtin() call in GUCArrayDelete()

The current code unintentionally uses the wrong datum to construct an array.
The bug was introduced by 096dd80f3c, so no backpatching is needed.

Reported-by: David Steele
Discussion: https://postgr.es/m/d46f9265-ff3c-6743-2278-6772598233c2%40pgmasters.net
Author: Nathan Bossart
Reviewed-by: David Steele, Tom Lane

Files

PathChange+/−
src/backend/utils/misc/guc.c modified +2 −1

Discussion