I have a table called "User_details" in my Postgres database with a column as "Mobile_no" with data type as Integer.
Now when I try inserting an integer value of length 10, I get the following error
ERROR: integer out of range
I know this can be resolved if i set the data type to bigint or may be even numeric(10,0) but i want to use Int as the data type.
Any possible solution to set the length of an Integer column in Postgres?