Skip to content

Pg boolean false values displayed as <null> #40

Description

@jplindstrom

Hi!

I have a field like this:

    boolean "is_test" NOT NULL DEFAULT false

And it looks like when I get a false value out of this table, it's always displayed as a <null> value. The actual usage of it seems to work, e.g. I can do where, group by true/false, but the display of the false value is not correct. True works.

This seems like a general display issue. The simplest way to reproduce would be:

select false as boolean_false, true as boolean_true;
| boolean_false | boolean_true |
|---------------+--------------|
| NULL          | t            |

When I run this in psgl it does display f

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions