minor change to replace function comment

Lists: pgsql-patches
From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: pgsql-patches(at)postgresql(dot)org
Subject: minor change to replace function comment
Date: 2008-05-29 15:46:59
Message-ID: 200805291146.59577.xzilla@users.sourceforge.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

The current wording implies that you replace arg1 with arg2 in arg3, but
replace actually replaces occurences of arg2 with arg3 in arg1. Attached
patch makes the function comment more closely resemble that, and is more
in-line with the docs wording as well.

--
Robert Treat
Build A Brighter LAMP :: Linux Apache {middleware} PostgreSQL

Attachment Content-Type Size
pg_proc.h.patch text/x-diff 1.8 KB

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: minor change to replace function comment
Date: 2008-05-29 22:48:35
Message-ID: 8199.1212101315@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-patches

Robert Treat <xzilla(at)users(dot)sourceforge(dot)net> writes:
> The current wording implies that you replace arg1 with arg2 in arg3, but
> replace actually replaces occurences of arg2 with arg3 in arg1. Attached
> patch makes the function comment more closely resemble that, and is more
> in-line with the docs wording as well.

Applied, thanks.

regards, tom lane