Files
libreoffice/connectivity/source/drivers/postgresql/postgresql.xcu
2011-11-17 21:15:25 +01:00

85 lines
3.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* Copyright 2008 by Sun Microsystems, Inc.
* Copyright 2011 by Lionel Elie Mamane <lionel@mamane.lu>
*
* OpenOffice.org - a multi-platform office productivity suite
*
* This file is part of OpenOffice.org.
*
* OpenOffice.org is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License version 3
* only, as published by the Free Software Foundation.
*
* OpenOffice.org is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License version 3 for more details
* (a copy is included in the LICENSE file that accompanied this code).
*
* You should have received a copy of the GNU Lesser General Public License
* version 3 along with OpenOffice.org. If not, see
* <http://www.openoffice.org/license.html>
* for a copy of the LGPLv3 License.
*
************************************************************************ -->
<oor:component-data oor:name="Drivers" oor:package="org.openoffice.Office.DataAccess" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<node oor:name="Installed">
<node oor:name="sdbc:postgresql:*" oor:op="replace">
<prop oor:name="Driver">
<value>org.openoffice.comp.connectivity.pq.Driver</value>
</prop>
<prop oor:name="DriverTypeDisplayName" oor:type="xs:string">
<value xml:lang="en-US">PostgreSQL</value>
</prop>
<node oor:name="Properties">
<!-- Don't use ODBC syntax for date&time literals and (full) outer joins,
as PostgreSQL does not support it,
but supports the _interior_ of these escapes just fine. -->
<node oor:name="EscapeDateTime" oor:op="replace">
<prop oor:name="Value" oor:type="xs:boolean">
<value>false</value>
</prop>
</node>
<!-- Confusingly, this corresponds to "UseBracketedOuterJoinSyntax" in the Features -->
<node oor:name="EnableOuterJoinEscape" oor:op="replace">
<prop oor:name="Value" oor:type="xs:boolean">
<value>false</value>
</prop>
</node>
</node>
<node oor:name="Features">
<!-- These entries enable the "Advanced Settings" UI to change the settings
whose default is set in node "Properties" above;
as this is guaranteed not to work with PostgreSQL,
we don't let people shoot themselves in the foot and don't enable the UI. -->
<!-- <node oor:name="EscapeDateTime" oor:op="replace"> -->
<!-- <prop oor:name="Value" oor:type="xs:boolean"> -->
<!-- <value>false</value> -->
<!-- </prop> -->
<!-- </node> -->
<!-- Confusingly, this corresponds to "EnableOuterJoinEscape" in the Properties -->
<!-- <node oor:name="UseBracketedOuterJoinSyntax" oor:op="replace"> -->
<!-- <prop oor:name="Value" oor:type="xs:boolean"> -->
<!-- <value>false</value> -->
<!-- </prop> -->
<!-- </node> -->
</node>
<node oor:name="MetaData">
<node oor:name="Authentication" oor:op="replace">
<prop oor:name="Value" oor:type="xs:string">
<value>UserPassword</value>
</prop>
</node>
</node>
</node>
</node>
</oor:component-data>
<!-- Local Variables: -->
<!-- indent-tabs-mode: nil -->
<!-- End: -->