Received: from localhost (unknown [200.46.204.184]) by postgresql.org (Postfix) with ESMTP id 73FEF2E004B for ; Sat, 29 Mar 2008 21:07:46 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.184]) (amavisd-maia, port 10024) with ESMTP id 76733-01 for ; Sat, 29 Mar 2008 21:07:33 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from QMTA09.westchester.pa.mail.comcast.net (qmta09.westchester.pa.mail.comcast.net [76.96.62.96]) by postgresql.org (Postfix) with ESMTP id CA6B72E003F for ; Sat, 29 Mar 2008 21:07:40 -0300 (ADT) Received: from OMTA07.westchester.pa.mail.comcast.net ([76.96.62.59]) by QMTA09.westchester.pa.mail.comcast.net with comcast id 6yvF1Z00d1GhbT8590oe00; Sun, 30 Mar 2008 00:06:02 +0000 Received: from [192.168.0.2] ([67.160.97.168]) by OMTA07.westchester.pa.mail.comcast.net with comcast id 7C7b1Z0013dyZyT3T00000; Sun, 30 Mar 2008 00:07:37 +0000 X-Authority-Analysis: v=1.0 c=1 a=epTmVMiNAAAA:8 a=aBGwO0BuHQDSF-ybJzoA:9 a=GUTvbKkovAVRcUHDFbUA:7 a=SQJcEcMwjly6CZZaHyGrSOlAlOAA:4 a=si9q_4b84H0A:10 a=LY0hPdMaydYA:10 From: Adrian Klaver To: pgsql-odbc@postgresql.org Subject: Re: Access issue again Date: Sat, 29 Mar 2008 17:08:04 -0700 User-Agent: KMail/1.9.1 Cc: Andreas References: <47EED5B1.6020004@gmx.net> In-Reply-To: <47EED5B1.6020004@gmx.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200803291708.05072.aklaver@comcast.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200803/41 X-Sequence-Number: 9457 On Saturday 29 March 2008 4:50 pm, Andreas wrote: > Hi, > > whenever I ODBC link pg-tables into access I get this error in the log: > It's translated by me so it won't be the original english error text. > ----------------- > 2008-03-30 00:28:45 CET db_sales user1 WARNING: not standardconform use > of \\ in characterstring at char 264 > 2008-03-30 00:28:45 CET db_sales user1 TIP: Use the Syntax for > Escape-strings for Backslashes, e.g. E'\\'. > ------------------ > > Besides this error the linked tables seem to work perfectly. > Whats wrong here? See this: http://www.postgresql.org/docs/8.3/interactive/runtime-config-compatible.html escape_string_warning (boolean) When on, a warning is issued if a backslash (\) appears in an ordinary string literal ('...' syntax) and standard_conforming_strings is off. The default is on. Applications that wish to use backslash as escape should be modified to use escape string syntax (E'...'), because the default behavior of ordinary strings will change in a future release for SQL compatibility. This variable can be enabled to help detect applications that will break. standard_conforming_strings (boolean) This controls whether ordinary string literals ('...') treat backslashes literally, as specified in the SQL standard. The default is currently off, causing PostgreSQL to have its historical behavior of treating backslashes as escape characters. The default will change to on in a future release to improve compatibility with the standard. Applications can check this parameter to determine how string literals will be processed. The presence of this parameter can also be taken as an indication that the escape string syntax (E'...') is supported. Escape string syntax should be used if an application desires backslashes to be treated as escape characters. You can change the escape_string_warning to escape_string_warning=False in postgresql.conf to suppress the messages. -- Adrian Klaver aklaver@comcast.net