Calling the Postgresql function xml_to_query does not work. The output of the query will be UnknownType (2009).
Example SQL:
select query_to_xml('select 1+1 answer', true, true, '') as_xml;
When any SQL with query_to_xml is executed in Squirrel SQL it will result in:
| as_xml |
+--------------------+
|<UnknownType (2009)>|
As suggested in http://stackoverflow.com/questions/28444233/squirrelsql-doesnt-like-query-to-xml I've changed the output style but it makes no difference.
Same user logged in via a Postgres SQL client or running the query with the same JDBC driver as Squirrel in a Java program works as expected.
3.6 Standard from 20150128 (Jan 28) and latest snapshot 20150221_2246 gives the same result.