- Notifications
You must be signed in to change notification settings - Fork5.2k
Commit8d1071e
committed
Fix incompatibility with libxml2 >= 2.14
libxml2 has deprecated the members of xmlBuffer, and it is recommendedto access them with dedicated routines. We have only one case in thetree where this shows an impact: xml2/xpath.c where "content" wasgetting directly accessed. The rest of the code looked fine, checkingthe PostgreSQL code with libxml2 close to the top of its "2.14" branch.xmlBufferContent() exists since year 2000 based on a check of theupstream libxml2 tree, so let's switch to it.Like400928b, backpatch all the way down as this can have an impacton all the branches already released once newer versions of libxml2 getmore popular.Reported-by: Walid Ibrahim <walidib@amazon.com>Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us>Discussion:https://postgr.es/m/aGdSdcR4QTjEHX6s@paquier.xyzBackpatch-through: 131 parent1e00772 commit8d1071e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| |||
0 commit comments
Comments
(0)