參考:https://www.javaear.com/question/41149554.html
ALTER TABLE XXX ALTER COLUMN xxx TYPE BOOLEAN USING xxx::BOOLEAN
ERROR: default for column "xxx" cannot be cast automatically to type boolean
SQL state: 42804
參考:https://www.javaear.com/question/41149554.html
ALTER TABLE XXX ALTER COLUMN xxx TYPE BOOLEAN USING xxx::BOOLEAN
ERROR: default for column "xxx" cannot be cast automatically to type boolean
SQL state: 42804
yum 安裝了 PostgreSQL 安裝 yum install https://download.postgresql.org/pub/repos/yum/
一: 安裝openssl和pcre yum -y install pcre-devel openssl openssl-devel 安裝git yum install git -y