pgsql: Fix comparison of an array of characters with zero to compare wi

From: Fujii Masao <fujii(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix comparison of an array of characters with zero to compare wi
Date: 2014-02-04 02:04:34
Message-ID: E1WAVNK-0001wq-El@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix comparison of an array of characters with zero to compare with '\0' instead.

Report from Andres Freund.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/489e6ac5a1a4ca7e4ca7683a86ccd8a5d5e3eb59

Modified Files
--------------
src/backend/utils/adt/pgstatfuncs.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2014-02-04 02:05:32 Re: pgsql: Add pg_stat_archiver statistics view.
Previous Message Tom Lane 2014-02-04 01:48:06 Viability of text HISTORY/INSTALL/regression README files (was Re: [COMMITTERS] pgsql: Document a few more regression test hazards.)