X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 10D89D8D9F for ; Wed, 28 Sep 2005 14:16:11 -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 51530-04 for ; Wed, 28 Sep 2005 17:16:01 +0000 (GMT) Received: from a2s4.a2hosting.com (a2s4.a2hosting.com [64.9.205.220]) by svr1.postgresql.org (Postfix) with ESMTP id 36489D9A87 for ; Wed, 28 Sep 2005 14:16:00 -0300 (ADT) Received: from user-1120q9s.dsl.mindspring.com ([66.32.105.60] helo=[192.168.1.10]) by a2s4.a2hosting.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.52) id 1EKfXC-0006ih-Tp; Wed, 28 Sep 2005 13:15:59 -0400 In-Reply-To: <005601c5c3ff$500a8270$0100a8c0@MI11> References: <005601c5c3ff$500a8270$0100a8c0@MI11> Mime-Version: 1.0 (Apple Message framework v733) X-Priority: 3 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Cc: Content-Transfer-Encoding: 7bit From: John DeSoi Subject: Re: Error restoring Date: Wed, 28 Sep 2005 13:15:51 -0400 To: Partners - Majolee InfoTech X-Mailer: Apple Mail (2.733) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - a2s4.a2hosting.com X-AntiAbuse: Original Domain - postgresql.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - pgedit.com X-Source: X-Source-Args: X-Source-Dir: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200509/26 X-Sequence-Number: 3266 On Sep 28, 2005, at 3:36 AM, Partners - Majolee InfoTech wrote: > now at a different machine we are trying to restore but the plpgsql > functions are having $_$ after "as" and after "end;". This is > causing errors while restoring. Do anyone know how to get rid of > this easily. Dollar quoting was not implemented until PostgreSQL 8.0. Are you trying to restore to an earlier version? If so you have to change the $_$ to single quotes and then appropriately escape any quotes in the function body. John DeSoi, Ph.D. http://pgedit.com/ Power Tools for PostgreSQL