This short article explains how to make MySQL Bit(n) compatible with PostgreSQL by filling 1 when out of range and 0 when within range.