pgsql: Fix "is db labeled test?" in chkselinuxenv script. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Fix "is db labeled test?" in chkselinuxenv script.
Date
Msg-id E1Qz6T8-00081i-7R@gemulon.postgresql.org
Whole thread Raw
List 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:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: Remove "fmgr.h" include in cube contrib --- caused crash on a Ge
Next
From: Robert Haas
Date:
Subject: pgsql: Userspace access vector cache for contrib/sepgsql.