]> git.evergreen-ils.org Git - Evergreen.git/commit
Add an XML pretty printer database function
authorDan Scott <dan@coffeecode.net>
Sat, 17 Mar 2012 01:49:45 +0000 (21:49 -0400)
committerDan Scott <dscott@laurentian.ca>
Mon, 30 Jul 2012 14:22:06 +0000 (10:22 -0400)
commitec8b943faef89235c0806db983864398acba5b2c
treea94246b00a150960564eaeaed7163d561826b11f
parent3670571e47fba3dc38aeec11a5f73ddc6cbea0ce
Add an XML pretty printer database function

Andrew Dunstan was kind enough to share an XML pretty printer function
for PostgreSQL, and it sure is handy when you're debugging things like
in-database unapi and MARCXML.

Note that it expects honest-to-goodness XML data type input, so for
biblio.record_entry.marc columns you'll need to cast it from TEXT.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/src/sql/Pg/000.functions.general.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.function.xml_pretty_print.sql [new file with mode: 0644]