From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Philip Warner <pjw(at)rhyme(dot)com(dot)au> |
Cc: | pgsql-patches(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Subject: | Re: pg_restore recognizing $-quotes |
Date: | 2004-08-18 15:26:11 |
Message-ID: | 200408181526.i7IFQBY14697@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-patches |
Per Tom ...
Your patch has been added to the PostgreSQL unapplied patches list at:
http://momjian.postgresql.org/cgi-bin/pgpatches
It will be applied as soon as one of the PostgreSQL committers reviews
and approves it.
---------------------------------------------------------------------------
Philip Warner wrote:
>
> Not sure if this is the desired approach, but since it works, I thought I'd
> send it.
>
> This patch allows pg_restore to recognize $-quotes in SQL queries. It will
> treat any unquoted string that starts with a $ and has no preceding
> identifier chars as a potential $-quote tag, it then makes sure that the
> tag chars are valid. If so, it processes the $-quote.
>
> Tested against local DBs and regression DB.
>
>
>
> ----------------------------------------------------------------
> 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 |/
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2004-08-18 15:29:30 | Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks |
Previous Message | Bruce Momjian | 2004-08-18 15:25:07 | Re: 7.4.3 & 8.0.0beta1 + Solaris 9: default pg_hba.conf breaks |