diff options
author | Andres Freund <andres@anarazel.de> | 2015-08-12 16:49:36 +0200 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2015-08-15 16:51:34 +0200 |
commit | 1d4bd77568493309914217251dce5bd51f4a72b7 (patch) | |
tree | 4ba1d3a23209dae6d58807bafd867230a5f63cc2 /src/backend/executor/execIndexing.c | |
parent | 6c772c7453e3e1fa97e3ef0d7e90b22c7f4ea721 (diff) | |
download | postgresql-1d4bd77568493309914217251dce5bd51f4a72b7.tar.gz postgresql-1d4bd77568493309914217251dce5bd51f4a72b7.zip |
vacuumdb: Don't assign negative values to a boolean.
Since a17923204736 (vacuumdb: enable parallel mode) -1 has been assigned
to a boolean. That can, justifiedly, trigger compiler warnings. There's
also no need for ternary logic, result was only ever set to 0 or -1. So
don't.
Discussion: 20150812084351.GD8470@awork2.anarazel.de
Backpatch: 9.5
Diffstat (limited to 'src/backend/executor/execIndexing.c')
0 files changed, 0 insertions, 0 deletions