Re: Issue getColumns(): Nonstandard use of \\ in a string literal - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Issue getColumns(): Nonstandard use of \\ in a string literal
Date
Msg-id alpine.BSO.2.00.1103192324270.26039@leary.csoft.net
Whole thread Raw
In response to Issue getColumns(): Nonstandard use of \\ in a string literal  ("ml-tb" <ml-tb@emagixx.de>)
Responses Re: Issue getColumns(): Nonstandard use of \\ in a string literal
List pgsql-jdbc

On Tue, 15 Feb 2011, ml-tb wrote:

> DB-Version: 9.0.2
> Driver: 9.0-801
>
> The metadata area of this driver seems to be a litte bit out of the
> development or test focus (see also: Double quoted column name from
> DatabaseMetaData.getIndexInfo).
>
> I got the the warning message "nonstandard use of \\ in a string
> literal" in the logfile from my postgresql server if i use the method
> getColumns(...) from the DatabaseMetaData of a java.sql.Connection.

The warning can be safely ignored.  The warning is to tell you that the
backslashes can mean different things depending on the setting of
standard_conforming_strings.  But since the backslashes are generated
based upon the setting of standard_conforming_strings, it's OK.  I have
committed a fix to CVS to avoid that warning in the future.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Kris Jurka
Date:
Subject: Re: domains handling problem
Next
From: Vitalii Tymchyshyn
Date:
Subject: Re: domains handling problem