DDC-693: NULL values from Postgres boolean columns are loaded as FALSE instead of NULL #855

Open
opened 2026-01-22 12:52:47 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Jul 18, 2010).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user jantichy:

I have column in PostgreSQL defined as "BOOLEAN NULL". If I store NULL value to database and then load it back, I get FALSE instead of NULL.

Example entity and test attached.

I am not sure if this issue applies to ORM or DBAL, so posting here.

Originally created by @doctrinebot on GitHub (Jul 18, 2010). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user jantichy: I have column in PostgreSQL defined as "BOOLEAN NULL". If I store NULL value to database and then load it back, I get FALSE instead of NULL. Example entity and test attached. I am not sure if this issue applies to ORM or DBAL, so posting here.
admin added the Bug label 2026-01-22 12:52:47 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#855