摘要:
磨砺技术珠矶,践行数据之道,追求卓越价值回到上一级页面:PostgreSQL基础知识与基本操作索引页 回到顶级页面:PostgreSQL索引页[作者 高健@博客园 luckyjackgao@gmail.com]由于数据少,执行计划中没有使用Index Scanpostgres=# CREATE TABLE items (postgres(# itemid serial NOT NULL PRIMARY KEY,postgres(# itemname text NOT NULL,postgres(# tags hstore);NOTICE: CREATE TABLE will cr... 阅读全文
posted @ 2013-10-04 14:16
健哥的数据花园
阅读(812)
评论(0)
推荐(0)
摘要:
安装hstore:进入源代码的/contrib/hstore 目录,然后执行gmake 和 gmake install:[root@pg200 hstore]# gmakegcc -O2 -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -Wmissing-format-attribute -Wformat-security -fno-strict-aliasing -fwrapv -fpic -I. -I. -I../../src/include -D_GNU_SOU 阅读全文
posted @ 2013-10-04 10:26
健哥的数据花园
阅读(9272)
评论(0)
推荐(0)
摘要:
磨砺技术珠矶,践行数据之道,追求卓越价值回到上一级页面:PostgreSQL杂记页 回到顶级页面:PostgreSQL索引页[作者 高健@博客园 luckyjackgao@gmail.com]外部文件来自于Windows,日语SJIS字符集。由于SJIS字符集和标准的POSIX有冲突,故Linux平台一般是不支持此字符集的。而PostgreSQL的服务器端也不支持它。但是它支持客户端使用SJIS,因此导入时,可以用PostgreSQL的自动变换功能。具体如下:-----------------------------Linux Encoding:[root@pg200 data]# echo. 阅读全文
posted @ 2013-10-04 08:52
健哥的数据花园
阅读(1215)
评论(0)
推荐(0)

浙公网安备 33010602011771号