Closed
Labels
enhancementNew feature or requestNew feature or requestpg_clickhouseNeeded by the pg_clickhouse PostgreSQL FDWNeeded by the pg_clickhouse PostgreSQL FDW
Description
ClickHouse has a Bool type distinct from UInt8. clickhouse-cpp currently has no Type::Code::Bool — Bool columns are silently handled as UInt8. pg_clickhouse maps Bool to PostgreSQL BOOLEAN at the schema level, but the binary driver has no way to distinguish Bool from UInt8 at the wire level, which causes type mismatches during reads.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpg_clickhouseNeeded by the pg_clickhouse PostgreSQL FDWNeeded by the pg_clickhouse PostgreSQL FDW
Activity
theory commentedon Apr 10, 2026
See #449 for an attempt to add a Bool type