ossc-db / pg_rman

Backup and restore management tool for PostgreSQL
http://ossc-db.github.io/pg_rman/index.html
Other
476 stars 77 forks source link

Clean up the code using "(expr) ? true : false" #213

Open yang-rong-0814 opened 2 years ago

yang-rong-0814 commented 2 years ago

The commit fd0625c7a9 of PG had improved code where were already using a boolean or used an expression that led to zero or one, making the extra bits unnecessary. This patch fixed the same problem in pg_rman.