pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John DeSoi <desoi@pgedit.com>
To: Partners - Majolee InfoTech <info@majolee.info>
Cc: pgsql-php@postgresql.org
Subject: Re: Error restoring
Date: Wed, 28 Sep 2005 13:15:51 -0400
Message-ID: <E89CF710-1318-4388-B494-3884224CDC53@pgedit.com> (raw)
In-Reply-To: <005601c5c3ff$500a8270$0100a8c0@MI11>
References: <005601c5c3ff$500a8270$0100a8c0@MI11>


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




view thread (2+ messages)

Message-ID: <E89CF710-1318-4388-B494-3884224CDC53@pgedit.com>
Permalink:  ../E89CF710-1318-4388-B494-3884224CDC53@pgedit.com/
Also on:    postgresql.org/message-id/E89CF710-1318-4388-B494-3884224CDC53@pgedit.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: desoi@pgedit.com, info@majolee.info
  Subject: Re: Error restoring
  In-Reply-To: <E89CF710-1318-4388-B494-3884224CDC53@pgedit.com>
  References: <005601c5c3ff$500a8270$0100a8c0@MI11> <E89CF710-1318-4388-B494-3884224CDC53@pgedit.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox