Menu

#483 PostgreSQL boolean type update fails

4.2.3
closed-fixed
nobody
PostgreSQL (42)
5
2017-05-16
2016-01-26
No

Updating an existing row fails with

ERROR: invalid input syntax for type boolean: ""

in case there are fields of the boolean type set to false.

The generated query tries to assign '' to the field, although it should be one of the values listed here: http://www.postgresql.org/docs/9.0/static/datatype-boolean.html

PostgreSQL 9.4.5

Discussion

  • Jakub Vrána

    Jakub Vrána - 2017-02-20
    • status: open --> closed-fixed
     
  • Jakub Vrána

    Jakub Vrána - 2017-02-20
     
  • Finbar Barton Maunsell

    I'm having the same problem with the latest version of Adminer. Not sure how to fix.
    Using Postgresql version 9.6.2

     

    Last edit: Finbar Barton Maunsell 2017-05-16

Log in to post a comment.

MongoDB Logo MongoDB