Re: pg_restore recognizing $-quotes - Mailing list pgsql-patches

From Philip Warner
Subject Re: pg_restore recognizing $-quotes
Date
Msg-id 6.1.1.1.0.20040819081726.0562c5c0@203.8.195.10
Whole thread Raw
In response to Re: pg_restore recognizing $-quotes  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-patches
At 01:22 AM 19/08/2004, Tom Lane wrote:
>Philip Warner <pjw@rhyme.com.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       |/


pgsql-patches by date:

Previous
From: Philip Warner
Date:
Subject: Re: pg_restore recognizing $-quotes
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] 8.0 libpq: missing get_home_path()