Received: from hausmasta.Austria.EU.net (mlist.austria.eu.net [193.81.83.3]) by hub.org (8.9.3/8.9.3) with ESMTP id QAA56830 for ; Mon, 13 Sep 1999 16:11:01 -0400 (EDT) (envelope-from theofilu@eunet.at) Received: from eunet.at (dialup160.ap01-graz.at.eu.net [193.81.170.160]) by hausmasta.Austria.EU.net (8.9.3/8.9.3) with ESMTP id WAA00727 for ; Mon, 13 Sep 1999 22:10:57 +0200 (MET DST) Received: (from theofilu) by eunet.at (8.9.3/8.9.3) id WAA07963 for pgsql-interfaces@postgresql.org; Mon, 13 Sep 1999 22:11:57 +0200 Message-Id: <199909132011.WAA07963@eunet.at> Date: Mon, 13 Sep 1999 22:11:53 +0200 (MEST) To: pgsql-interfaces@postgresql.org Reply-To: theofilu@eunet.at From: theofilu@eunet.at (Theofilu Andreas) Subject: Still have problem with single quotation mark X-Mailer: Ishmail 1.3.2-970722-linux MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Hi to all, There is still a problem with the single quotation mark (') inside a string, when this string is inserted into the database and one uses 'ecpg'. Someone on this list told me, that I should precede a ' with a second ' (''). Then it would not be interpreted as the end of string. I did this and realy, now it is not interpreted at all. 'ecpg' puts now both quotation marks into the database table. This makes for example the words 'I don't want this' appear as 'I don''t want this'. Preceding the quotation mark with a backslash does not help also. Then I get the SQL error 'too many arguments in line xxx'. This is really annoying. How can I fix this? -- Theofilu Andreas http://members.eunet.at/theofilu ------------------------------------------------- Enjoy the science of Linux! Genieße die Wissenschaft von Linux! -------------------------------------------------