I am trying to insert values to a table which contains two columns with inet
types. When I try to insert a NULL
value to these columns I get an error saying
ERROR: invalid input syntax for type inet: ""
Actually I am triyng to do this from python using sqlalchemy but naturally I get the same error saying:
Session.commit() error: (DataError) invalid input syntax for type inet: ""
I need to be able to add null values to these columns.
These colums do not have an attribute like NOT NULL
.