Re: appendStringInfo vs appendStringInfoString

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: David Rowley <dgrowleyml(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: appendStringInfo vs appendStringInfoString
Date: 2013-09-30 02:32:26
Message-ID: 1380508346.17709.2.camel@vanquo.pezone.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Sat, 2013-09-28 at 21:50 +1200, David Rowley wrote:
> Also on making the changes I noticed a possible small bug in the code
> that could cause a crash if for some reason a translation contained a
> %s. I know it is an unlikely scenario, never-the-less here is a patch
> to fix it.

There are mechanisms in place that prevent a translation from having
different format specifiers than the original. So this is nothing you
have to be concerned about. (If it were, we'd have a much much bigger
problem.)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrew Dunstan 2013-09-30 02:33:51 Re: hstore extension version screwup
Previous Message Peter Eisentraut 2013-09-30 01:58:39 Re: hstore extension version screwup