How to reset a field in PostgreSQL?

Good afternoon.
Trying to reset the fields of the table using the command
UPDATE filters SET height_low=NULL|height_high=NULL WHERE chat_id=%s

error
psycopg2.ProgrammingError: column "height_low" is of type integer but expression is of type boolean
HINT: You will need to rewrite or cast the expression.

It is necessary to translate an integer to NULL, what can I do?
March 20th 20 at 11:53
0 answer

Find more questions by tags PostgreSQL