diff options
author | Lionel Elie Mamane <lionel@mamane.lu> | 2011-08-12 16:56:43 +0200 |
---|---|---|
committer | Lionel Elie Mamane <lionel@mamane.lu> | 2011-11-17 21:15:24 +0100 |
commit | 9f479d9334262f65ea844281ef0281ed736d59fe (patch) | |
tree | 14fa8d4c56d23dfc75c835f89f0c6ac089ece458 /connectivity/source/drivers/postgresql/pq_xcolumns.hxx | |
parent | 391193b62233866e0e6789c7606b5d8a87cebc3a (diff) |
pgsql-sdbc: properly delegate escaping to libpq
In particular, this makes it work whether server parameter standards_conforming_strings is off or on
Diffstat (limited to 'connectivity/source/drivers/postgresql/pq_xcolumns.hxx')
-rw-r--r-- | connectivity/source/drivers/postgresql/pq_xcolumns.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/connectivity/source/drivers/postgresql/pq_xcolumns.hxx b/connectivity/source/drivers/postgresql/pq_xcolumns.hxx index 3f5301ad14e6..f63508b204a6 100644 --- a/connectivity/source/drivers/postgresql/pq_xcolumns.hxx +++ b/connectivity/source/drivers/postgresql/pq_xcolumns.hxx @@ -1,3 +1,4 @@ +/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /************************************************************************* * * $RCSfile: pq_xcolumns.hxx,v $ @@ -51,6 +52,7 @@ * The Initial Developer of the Original Code is: Joerg Budischewski * * Copyright: 2000 by Sun Microsystems, Inc. + * 2011 by Lionel Elie Mamane <lionel@mamane.lu> * * All Rights Reserved. * @@ -71,7 +73,7 @@ namespace pq_sdbc_driver void alterColumnByDescriptor( const rtl::OUString & schemaName, const rtl::OUString & tableName, - rtl_TextEncoding encoding, + ConnectionSettings *settings, const com::sun::star::uno::Reference< com::sun::star::sdbc::XStatement > &stmt, const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > & past, const com::sun::star::uno::Reference< com::sun::star::beans::XPropertySet > & future); |