Found issues related with logical replication and 2PC

2024-07-23 Thread Hayato Kuroda (Fujitsu)
Hi hackers, While creating a patch which allows ALTER SUBSCRIPTION SET (two_phase) [1], we found some issues related with logical replication and two_phase. I think this can happen not only HEAD but PG14+, but for now I shared patches for HEAD. Issue #1 When handling a PREPARE message, the subs

warning: dereferencing type-punned pointer

2024-07-23 Thread Tatsuo Ishii
Today I compiled PostgreSQL master branch with -fno-strict-aliasing compile option removed (previous discussions on the $subject [1]). gcc version is 9.4.0. There are a few places where $subject warning printed. In file included from ../../../src/include/nodes/pg_list.h:42, from

<    1   2