postgresql/src/backend
Tom Lane 344a225cb9 Fix breakage in AlterFunction().
An ALTER FUNCTION command that tried to update both the function's
proparallel property and its proconfig list failed to do the former,
because it stored the new proparallel value into a tuple that was
no longer the interesting one.  Carelessness in 7aea8e4f2.

(I did not bother with a regression test, because the only likely
future breakage would be for someone to ignore the comment I added
and add some other field update after the heap_modify_tuple step.
A test using existing function properties could not catch that.)

Per report from Bryn Llewellyn.  Back-patch to all supported branches.

Discussion: https://postgr.es/m/8AC9A37F-99BD-446F-A2F7-B89AD0022774@yugabyte.com
2022-04-19 23:03:59 -04:00
..
access Don't retry restore_command while reading ahead. 2022-04-17 10:50:19 +12:00
bootstrap pg_upgrade: Preserve relfilenodes and tablespace OIDs. 2022-01-17 13:40:27 -05:00
catalog Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
commands Fix breakage in AlterFunction(). 2022-04-19 23:03:59 -04:00
executor Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
foreign Create routine able to set single-call SRFs for Materialize mode 2022-03-07 10:26:29 +09:00
jit Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
lib dshash: revise sequential scan support. 2022-04-04 14:32:52 -07:00
libpq Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
main Fix collection of typos in the code and the documentation 2022-03-15 11:29:35 +09:00
nodes Use WRITE_ENUM_FIELD for enum field 2022-04-12 16:19:00 +02:00
optimizer Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
parser Avoid invalid array reference in transformAlterTableStmt(). 2022-04-18 12:16:45 -04:00
partitioning Refactor and cleanup runtime partition prune code a little 2022-04-05 11:46:48 +02:00
po Translation updates 2021-06-21 12:33:50 +02:00
port Ensure that the argument of shmdt(2) is declared "void *". 2022-02-15 17:17:28 -05:00
postmaster Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
regex Call pg_newlocale_from_collation() also with default collation 2022-01-20 09:50:18 +01:00
replication Remove duplicated word in comment of basebackup.c 2022-04-20 11:05:34 +09:00
rewrite Add support for MERGE SQL command 2022-03-28 16:47:48 +02:00
snowball Update copyright for 2022 2022-01-07 19:04:57 -05:00
statistics Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
storage Tighten ComputeXidHorizons' handling of walsenders. 2022-04-15 17:50:05 -04:00
tcop Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
tsearch Remove extraneous blank lines before block-closing braces 2022-04-13 19:16:02 +02:00
utils Fix extract epoch from interval calculation 2022-04-19 21:04:52 +02:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk Remove PARTIAL_LINKING build mode. 2018-03-30 17:33:04 -07:00
Makefile Server-side gzip compression. 2022-01-24 15:13:18 -05:00
nls.mk Report progress of startup operations that take a long time. 2021-10-25 11:51:57 -04:00