摘要: PostgreSQL: Documentation: 9.6: ALTER TABLE 例子: alter table ask add column commentCount int not null default 0; mew=# drop type gradetype cascade;注意: 阅读全文
posted @ 2017-07-24 20:23 cdongyang 阅读(575) 评论(0) 推荐(0) 编辑
摘要: {"/image/ask/100002769image12017-07-24 15:56:56.243105236 +0800 CST m=+0.328076257.jpg","/image/ask/100002769image22017-07-24 15:56:56.280911621 +0800 阅读全文
posted @ 2017-07-24 16:11 cdongyang 阅读(549) 评论(0) 推荐(0) 编辑
摘要: 一般性 \copyright 显示PostgreSQL的使用和发行许可条款 \errverbose 以最冗长的形式显示最近的错误消息 \g [文件] or; 执行查询 (并把结果写入文件或 |管道) \gexec 执行策略,然后执行其结果中的每个值 \gset [PREFIX] 执行查询并把结果存到 阅读全文
posted @ 2017-07-24 12:05 cdongyang 阅读(214) 评论(0) 推荐(0) 编辑