Re: dbmirror bug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Hai-Chen Tu <hctu(at)yahoo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: dbmirror bug
Date: 2002-11-22 16:26:55
Message-ID: 24887.1037982415@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hai-Chen Tu <hctu(at)yahoo(dot)com> writes:
> The cause of the problem is that pending.c in dbmirror
> uses
> elog(NOTICE, cpKeyData)
> and
> elog(NOTICE, cpFieldData)
> to print column data where elog
> interprets the second argument as sprintf
> format string, which fails if
> cpKeyData/cpFieldData contains '%'.

Good catch! Trawling the sources identified a dozen other places with
the same error --- all fixed now.

regards, tom lane

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Rafael Villalobos Prats 2002-11-22 17:07:30 Pgsqlv7.3RC1, pgadminII v 1.4.0 Dropping a field does not drop asociate foreign key
Previous Message Bruce Momjian 2002-11-22 16:04:52 Re: dbmirror bug