pgsql 的问题

pgsql 怎么插入inet类型的数据?
insert into table (remote_addr) values ( ?::INET);

 pgsql如何截取时间的精度

select  create_time::timestamp(6) from table;

 

posted @ 2016-09-21 16:43  CoderV的进阶笔记  阅读(196)  评论(0编辑  收藏  举报