Postgres: Convert varchar to text

后端 未结 1 1520
长情又很酷
长情又很酷 2021-01-01 08:14

I screwed up and created a column as a varchar(255) where that is no longer sufficient. I\'ve read that varchar has no performance benefits over text on Postgres, and so wou

相关标签:
1条回答
  • 2021-01-01 08:54
    ALTER TABLE table1 ALTER COLUMN column1 TYPE text;
    
    0 讨论(0)
提交回复
热议问题