Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

On the other hand, changing the length of a varchar column in Postgres is actually changing the type of the table, and if you have any other objects in the database that are dependent upon that type (e.g. views), you'll have to drop and recreate them (and transitively, any views that depend upon those views) in the same transaction where you alter the column. This can easily spiral into a lot of work.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: