Skip site navigation (1) Skip section navigation (2)

Re: / xml / quoting trouble

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: / xml / quoting trouble
Date: 2007-06-29 16:24:09
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-patches
Patrick Welche <prlw1(at)newn(dot)cam(dot)ac(dot)uk> writes:
> The second part is a shell quoting problem. As the printf is inside
> single quotes, the double quotes don't need to be escaped. My awk
> received the backslashes and complained.

I've applied this part.  Turned out there was a second bug in the same
area: autoconf was stripping the []'s out of the sed regexp, causing
it to fail to do anything.  Apparently passing a string like "3devel"
to awk's "%d" format gets you just "3", but I wonder how portable that
behavior is either.

			regards, tom lane

In response to

pgsql-patches by date

Next:From: Tom LaneDate: 2007-06-29 16:35:44
Subject: Re: / xml / quoting trouble
Previous:From: Dave PageDate: 2007-06-29 15:19:27
Subject: Re: WIP CSV logs

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group