X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id DDC9F528BE for ; Sat, 20 Aug 2005 16:27:20 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 43524-04 for ; Sat, 20 Aug 2005 19:27:15 +0000 (GMT) Received: from omta08.mta.everyone.net (sitemail3.everyone.net [216.200.145.37]) by svr1.postgresql.org (Postfix) with ESMTP id 6250D52834 for ; Sat, 20 Aug 2005 16:27:14 -0300 (ADT) Received: from dm22.mta.everyone.net (bigiplb-dsnat [172.16.0.19]) by omta08.mta.everyone.net (Postfix) with ESMTP id BDB0C40BBF for ; Sat, 20 Aug 2005 12:27:15 -0700 (PDT) X-Eon-Dm: dm22 Received: from mailweb27.everyone.net (172.16.0.19 [172.16.0.19]) by dm22.mta.everyone.net (EON-AUTHRELAY2) with ESMTP id dm22.4306d661.b8bb for ; Sat, 20 Aug 2005 12:27:15 -0700 (PDT) X-Eon-Sig: AQJgD5pDB4QTfHJi0QIAAAAB,06b6b364262137e2a4d7398ed174a077 Content-Type: text/plain Content-Disposition: inline Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Mailer: MIME-tools 5.41 (Entity 5.404) Date: Sat, 20 Aug 2005 12:27:15 -0700 (PDT) From: Bernard Henry Voynet To: pgsql-sql@postgresql.org Subject: Unwanted nested dollar-quoted constants Reply-To: bhv@quebecemail.com X-Originating-Ip: [83.114.224.181] Message-Id: <20050820122715.D2B562D6@dm22.mta.everyone.net> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.154 required=5 tests=[AWL=0.104, FORGED_RCVD_HELO=0.05] X-Spam-Level: X-Archive-Number: 200508/257 X-Sequence-Number: 22485 Hello, I recurrently need to migrate a big amount of data from one database type to PostgreSQL 8.0.3. For this, I use INSERT scripts that I run from the pgAdmin III. All the text fields are specified using the dollar-quoted string constant form that. However, sometime, there are records that include some text that look like a nested tagged dollar-quoted constant start (eg. $EN$) without its ending conterpart. In such situation, the whole set of records is refused (without any error telling where and what). I have tried to insert a '\' char in front of each '$' which, of course, did ot work since they are not treated as is. So, what can I do to say that it is not a start of a new nested tagged dollar-quoted constant ? Or is there any way to disable nested tagged dollar-quoted constant ? Best regards _____________________________________________________________ Obtenez aussi votre adresse electronique gratuite de Quebecemail.com http://www.quebecemail.com, un service gratuit et permanent.