Re: pg_restore (libpq? parser?) bug in 8

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Andrew Dunstan" <andrew(at)dunslane(dot)net>
Cc: pjw(at)rhyme(dot)com(dot)au, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pg_restore (libpq? parser?) bug in 8
Date: 2004-08-12 13:42:05
Message-ID: 28195.1092318125@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Andrew Dunstan" <andrew(at)dunslane(dot)net> writes:
> I had a thought that might short-circuit this - do we even need pg_dump to
> use dollar quoting for non-text output, such as is required by pg_restore?

That's a possibility, but I'd rather work around it by finding a way for
pg_restore not to need to parse the dollar-quoted literal in the first
place. I haven't heard a reason why it needs to parse the contents of a
CREATE FUNCTION entry. If we guarantee not to put dollar-quoted
literals into the TOC types it *does* need to parse, ISTM we're good.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2004-08-12 13:58:56 Re: Re: We have got a serious problem with pg_clog/WAL synchronization
Previous Message Kenneth Marshall 2004-08-12 13:21:17 Re: Re: We have got a serious problem with pg_clog/WAL synchronization