Make casts from xml to text independent of the XML option setting, thus
Peter Eisentraut <peter_e@gmx.net>
Make casts from xml to text independent of the XML option setting, thus immutable and indexable. Also fix the volatility settings of some other XML-related functions.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/xml.c | modified | +3 −2 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_cast.h | modified | +4 −4 |
| src/include/catalog/pg_proc.h | modified | +4 −4 |
| src/test/regress/expected/opr_sanity.out | modified | +7 −1 |
| src/test/regress/sql/opr_sanity.sql | modified | +4 −0 |