Aby mieć typ Boolean w Postgres dla PHP

Nie mogę uwierzyć, żenastępujące oświadczenie wydaje się być nadal prawdziwe

So, I switched to integers and 0 or 1 works fine, but it is
stupid, that the database system has boolean variables of a smaller
size, but I should use integers for boolean values!

Jak używać Boolean typu danych z Postgres / PHP?

Innymi słowy,

Czy jedynym sposobem na użycie 1 dla true i 0 dla false w uzyskaniu rodzaju logicznego typu danych?

questionAnswers(1)

yourAnswerToTheQuestion