Fix for issue #3442 to support range types in .xql files
PostgreSQL supports range types since 9.5. When using range types, square braces h…
Show more
Fix for issue #3442 to support range types in .xql filesPostgreSQL supports range types since 9.5. When using range types,square braces have to be used in SQL statements. Since OpenACS usesalways Tcl substitution in .xql files, and OpenACS does NOT allowbackslash substitution in these files, square brackets could not beescaped and therefore not be used in .xql files so far. This changeallows now a developer to deactivate the substitution by passinge.g. "-subst none" to the db_* command using the .xql file. Validvalues for "-subst" are "all", "none", "vars", and "commands", defaultis "all" which is exactly the behavior of before. Therefore, thischange is fully backward compatible.
Show less