Fix version check for retain_dead_tuples subscription option. The retain_dead_tuples subscription option is supported only when the publisher runs PostgreSQL 19 or later. However, it could previously be enabled even when the publisher was running an earlier version.
This was caused by check_pub_dead_tuple_retention() comparing the publisher server version against 19000 instead of 190000. Fix this typo so that the version check correctly enforces the PG19+ requirement. Author: Fujii Masao <[email protected]> Reviewed-by: Amit Kapila <[email protected]> Reviewed-by: Hayato Kuroda <[email protected]> Reviewed-by: Shlok Kyal <[email protected]> Discussion: https://postgr.es/m/cahgqgwex4twhtjdipwtyaxjhcbplah467sh2ajgse-41m65...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/5e813edb55ed16f3b5540f099319bcca7ca1b816 Modified Files -------------- src/backend/commands/subscriptioncmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
