The following bug has been logged on the website:
Bug reference: 17252
Logged by: Javad Ashraf
Email address: javad_ashraf(at)hotmail(dot)com
PostgreSQL version: 11.0
Operating system: Windows
Description:
In postgres its very bad process to alter column length in table that first
need to drop all dependencies and then alter length and then create again.
Developer also need to take care of order when dropping and recreating, It
should be automated to save developer time.