Skip to content

PostgreSql Boolean Literals are compiling to Long #5262

@griffio

Description

@griffio

SQLDelight Version

2.0.2

SQLDelight Dialect

Postgresql

Describe the Bug

Boolean Expressions are not bound to BOOLEAN type and being bound to LONG instead

e.g Expect the interface to have Boolean type

SELECT TRUE, FALSE;
WITH x(truthy, falsey) AS (
   VALUES
    (TRUE,  FALSE),
    (NOT FALSE, NOT TRUE)
)
SELECT x.truthy, x.falsey
FROM x;

Stacktrace

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions