postgresql/src/backend
Tom Lane 400928b83b Fix incompatibilities with libxml2 >= 2.12.0.
libxml2 changed the required signature of error handler callbacks
to make the passed xmlError struct "const".  This is causing build
failures on buildfarm member caiman, and no doubt will start showing
up in the field quite soon.  Add a version check to adjust the
declaration of xml_errorHandler() according to LIBXML_VERSION.

2.12.x also produces deprecation warnings for contrib/xml2/xpath.c's
assignment to xmlLoadExtDtdDefaultValue.  I see no good reason for
that to still be there, seeing that we disabled external DTDs (at a
lower level) years ago for security reasons.  Let's just remove it.

Back-patch to all supported branches, since they might all get built
with newer libxml2 once it gets a bit more popular.  (The back
branches produce another deprecation warning about xpath.c's use of
xmlSubstituteEntitiesDefault().  We ought to consider whether to
back-patch all or part of commit 65c5864d7 to silence that.  It's
less urgent though, since it won't break the buildfarm.)

Discussion: https://postgr.es/m/1389505.1706382262@sss.pgh.pa.us
2024-01-29 12:06:13 -05:00
..
access Fix locking when fixing an incomplete split of a GIN internal page 2024-01-29 13:46:22 +02:00
archive Update copyright for 2024 2024-01-03 20:49:05 -05:00
backup Temporary patch to help debug pg_walsummary test failures. 2024-01-26 13:25:19 -05:00
bootstrap Make attstattarget nullable 2024-01-13 18:14:53 +01:00
catalog Remove make function vpathsearch 2024-01-29 07:24:59 +01:00
commands Add EXPLAIN (MEMORY) to report planner memory consumption 2024-01-29 17:53:03 +01:00
executor Add soft error handling to some expression nodes 2024-01-24 15:04:33 +09:00
foreign Update copyright for 2024 2024-01-03 20:49:05 -05:00
jit jit: Require at least LLVM 10. 2024-01-25 15:42:34 +13:00
lib Fix broken Bitmapset optimization in DiscreteKnapsack() 2024-01-19 10:44:36 +13:00
libpq Update copyright for 2024 2024-01-03 20:49:05 -05:00
main Remove dummy_spinlock 2024-01-25 11:43:47 +01:00
nodes Add temporal PRIMARY KEY and UNIQUE constraints 2024-01-24 16:34:37 +01:00
optimizer Compare varnullingrels too in assign_param_for_var(). 2024-01-26 15:54:17 -05:00
parser Add a const decoration 2024-01-25 13:34:49 +01:00
partitioning Update copyright for 2024 2024-01-03 20:49:05 -05:00
po Update copyright for 2024 2024-01-03 20:49:05 -05:00
port Close socket in case of errors in setting non-blocking 2024-01-17 11:24:11 +01:00
postmaster Remove redundant HandleWalWriterInterrupts(). 2024-01-25 12:50:08 +09:00
regex Update copyright for 2024 2024-01-03 20:49:05 -05:00
replication Fix comments in ReplicationSlotAcquire(). 2024-01-29 10:12:58 +05:30
rewrite Support identity columns in partitioned tables 2024-01-16 17:24:52 +01:00
snowball Add copyright notices to a few perl scripts that don't have them 2024-01-05 13:15:50 +00:00
statistics Update copyright for 2024 2024-01-03 20:49:05 -05:00
storage Make spelling of cancelled/cancellation consistent 2024-01-26 12:38:15 +01:00
tcop Error message capitalisation 2024-01-18 09:35:12 +01:00
tsearch Update copyright for 2024 2024-01-03 20:49:05 -05:00
utils Fix incompatibilities with libxml2 >= 2.12.0. 2024-01-29 12:06:13 -05:00
.gitignore
Makefile Cross-check lists of predefined LWLocks. 2024-01-09 11:05:19 -06:00
common.mk Blind attempt to fix LLVM dependency in the backend 2022-09-15 10:53:48 +07:00
meson.build Update copyright for 2024 2024-01-03 20:49:05 -05:00
nls.mk Remove distprep 2023-11-06 15:18:04 +01:00