默认是public,如果要切换: set search_path to '_schema,public';这样之后的查询就方便了,不用麻烦的拼schema.table .但是遇到的问题是:要查询 表的index,查出来的表的索引定义是不带schema的,坑....也就是在当前schema的表名都不带... Read More
posted @ 2014-08-26 17:02
junfantasy
Views(6741)
Comments(0)
Diggs(0)
之前新建了张表,如下: 1 CREATE TABLE hl_14.cells 2 ( 3 cid integer NOT NULL DEFAULT nextval('cells_cid_seq'::regclass), 4 datetime timestamp without time zo... Read More
posted @ 2014-08-26 16:55
junfantasy
Views(784)
Comments(0)
Diggs(0)

浙公网安备 33010602011771号