pg.ddx.io pgsql-php@postgresql.org mailing list archive
help / color / mirror / Atom feedError restoring
2+ messages / 2 participants
[nested] [flat]
* Error restoring
@ 2005-09-28 07:36 Partners - Majolee InfoTech <info@majolee.info>
0 siblings, 1 reply; 2+ messages in thread
From: Partners - Majolee InfoTech @ 2005-09-28 07:36 UTC (permalink / raw)
To: pgsql-php
Hello,
We have taken a pg_dump of version 8.0.3 db.
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.
Thanks.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Error restoring
@ 2005-09-28 17:15 John DeSoi <desoi@pgedit.com>
parent: Partners - Majolee InfoTech <info@majolee.info>
0 siblings, 0 replies; 2+ messages in thread
From: John DeSoi @ 2005-09-28 17:15 UTC (permalink / raw)
To: Partners - Majolee InfoTech <info@majolee.info>; +Cc: pgsql-php
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
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-09-28 17:15 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-09-28 07:36 Error restoring Partners - Majolee InfoTech <info@majolee.info>
2005-09-28 17:15 ` John DeSoi <desoi@pgedit.com>
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