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

pgsql: Fix "is db labeled test?" in chkselinuxenv script.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix "is db labeled test?" in chkselinuxenv script.
Date: 2011-09-01 12:34:06
Message-ID: E1Qz6T8-00081i-7R@gemulon.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Fix "is db labeled test?" in chkselinuxenv script.

Don't test whether the number of labels is numerically equal to zero;
count(*) isn't going return zero anyway, and the current coding blows
up if it returns an empty string or an error.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/3d14bd2563cc527f250eed8d6d83e3ff62318675

Modified Files
--------------
contrib/sepgsql/chkselinuxenv |    2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

pgsql-committers by date

Next:From: Robert HaasDate: 2011-09-01 12:39:02
Subject: pgsql: Userspace access vector cache for contrib/sepgsql.
Previous:From: Bruce MomjianDate: 2011-09-01 11:22:43
Subject: pgsql: Remove "fmgr.h" include in cube contrib --- caused crash on aGe

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