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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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(-)

Browse pgsql-committers by date

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