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.
Showing
- src/backend/utils/adt/xml.c 3 additions, 2 deletionssrc/backend/utils/adt/xml.c
- src/include/catalog/catversion.h 2 additions, 2 deletionssrc/include/catalog/catversion.h
- src/include/catalog/pg_cast.h 4 additions, 4 deletionssrc/include/catalog/pg_cast.h
- src/include/catalog/pg_proc.h 4 additions, 4 deletionssrc/include/catalog/pg_proc.h
- src/test/regress/expected/opr_sanity.out 7 additions, 1 deletionsrc/test/regress/expected/opr_sanity.out
- src/test/regress/sql/opr_sanity.sql 4 additions, 0 deletionssrc/test/regress/sql/opr_sanity.sql
Loading
Please register or sign in to comment