Re: pg_restore recognizing $-quotes

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Andrew Dunstan" <andrew(at)dunslane(dot)net>, pgman(at)candle(dot)pha(dot)pa(dot)us, pgsql-patches(at)postgresql(dot)org
Subject: Re: pg_restore recognizing $-quotes
Date: 2004-08-18 22:20:13
Message-ID: 6.1.1.1.0.20040819081726.0562c5c0@203.8.195.10
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

At 01:22 AM 19/08/2004, Tom Lane wrote:
>Philip Warner <pjw(at)rhyme(dot)com(dot)au> writes:
> > If the patch is not kosher, then I'd vote for adding a "do not parse" flag
> > on the TOC entries when dumping them. Or a statement count.
>
>Unless you plan to abandon compatibility with existing dump files,
>this doesn't seem like much of a solution

Not really; pg_restore is able to read all old formats; in the case of old
dump files it would behave as though statement count > 1. In the case of
new dump files, it would use the statement count. It's only new dump files
that exhibit the problem, so this will work.

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp.mit.edu:11371 |/

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2004-08-19 00:01:19 Re: [HACKERS] 8.0 libpq: missing get_home_path()
Previous Message Philip Warner 2004-08-18 22:16:29 Re: pg_restore recognizing $-quotes