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.20040818215835.054ac340@203.8.195.10
Whole thread Raw
In response to Re: pg_restore recognizing $-quotes  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
At 01:44 PM 18/08/2004, Bruce Momjian wrote:
>This is quite a large patch, but we do need a solution to this problem.
>Should it be applied?

It's not as large as you might think; I had to indent a large chunk of
code, and that shows up in the diff. Try applying it, and looking at a
'diff -b'.

There are two issues that I can see:

  - I think the logic used to check for $-quotes is valid, but someone
    else should look at it.

  - Adding a full parser would be too big a change for now; and should
    be avoided if possible.






----------------------------------------------------------------
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: "Andrew Dunstan"
Date:
Subject: Re: pg_restore recognizing $-quotes
Next
From: Tom Lane
Date:
Subject: Re: pg_restore recognizing $-quotes