pgsql: Integrate FullTransactionIds deeper into two-phase code

2025-07-06 Thread Michael Paquier
Integrate FullTransactionIds deeper into two-phase code This refactoring is a follow-up of the work done in 5a1dfde8334b, that has switched 2PC file names to use FullTransactionIds when written on disk. This will help with the integration of a follow-up solution related to the handling of two-pha

pgsql: Fix incompatibility with libxml2 >= 2.14

2025-07-06 Thread Michael Paquier
Fix incompatibility with libxml2 >= 2.14 libxml2 has deprecated the members of xmlBuffer, and it is recommended to access them with dedicated routines. We have only one case in the tree where this shows an impact: xml2/xpath.c where "content" was getting directly accessed. The rest of the code l

pgsql: Fix incompatibility with libxml2 >= 2.14

2025-07-06 Thread Michael Paquier
Fix incompatibility with libxml2 >= 2.14 libxml2 has deprecated the members of xmlBuffer, and it is recommended to access them with dedicated routines. We have only one case in the tree where this shows an impact: xml2/xpath.c where "content" was getting directly accessed. The rest of the code l

pgsql: Fix incompatibility with libxml2 >= 2.14

2025-07-06 Thread Michael Paquier
Fix incompatibility with libxml2 >= 2.14 libxml2 has deprecated the members of xmlBuffer, and it is recommended to access them with dedicated routines. We have only one case in the tree where this shows an impact: xml2/xpath.c where "content" was getting directly accessed. The rest of the code l

pgsql: Fix incompatibility with libxml2 >= 2.14

2025-07-06 Thread Michael Paquier
Fix incompatibility with libxml2 >= 2.14 libxml2 has deprecated the members of xmlBuffer, and it is recommended to access them with dedicated routines. We have only one case in the tree where this shows an impact: xml2/xpath.c where "content" was getting directly accessed. The rest of the code l

pgsql: Fix incompatibility with libxml2 >= 2.14

2025-07-06 Thread Michael Paquier
Fix incompatibility with libxml2 >= 2.14 libxml2 has deprecated the members of xmlBuffer, and it is recommended to access them with dedicated routines. We have only one case in the tree where this shows an impact: xml2/xpath.c where "content" was getting directly accessed. The rest of the code l

pgsql: Fix incompatibility with libxml2 >= 2.14

2025-07-06 Thread Michael Paquier
Fix incompatibility with libxml2 >= 2.14 libxml2 has deprecated the members of xmlBuffer, and it is recommended to access them with dedicated routines. We have only one case in the tree where this shows an impact: xml2/xpath.c where "content" was getting directly accessed. The rest of the code l

pgsql: Fix incompatibility with libxml2 >= 2.14

2025-07-06 Thread Michael Paquier
Fix incompatibility with libxml2 >= 2.14 libxml2 has deprecated the members of xmlBuffer, and it is recommended to access them with dedicated routines. We have only one case in the tree where this shows an impact: xml2/xpath.c where "content" was getting directly accessed. The rest of the code l

pgsql: postgres_fdw: Add Assert to estimate_path_cost_size().

2025-07-06 Thread Etsuro Fujita
postgres_fdw: Add Assert to estimate_path_cost_size(). When estimating the cost/size of a pre-sorted path for a given upper relation using local stats, this function dereferences the passed-in PgFdwPathExtraData pointer without checking that it is not NULL. But that is not a bug as the pointer is