oracle_fdw:http://francs3.blog.163.com/blog/static/4057672720122354546425/ postgres_fdw:http://www.postgresql.org/docs/9.4/static/postgres-fdw.html postgres_fdw用来访问外部的PostgreSQL服务器。 举...
分类:
数据库 时间:
2015-09-02 16:02:51
阅读次数:
313
原文地址:http://blog.chinaunix.net/uid-354915-id-3498734.htmlPostgreSQL安装:一、windows下安装过程安装介质:postgresql-9.1.3-1-windows.exe(46M),安装过程非常简单,过程如下:1、开始安装:2、选择...
分类:
数据库 时间:
2015-09-01 12:35:58
阅读次数:
199
1.json jsonb的区别:jsonb同时属于json(JavaScript Object Notation) 数据类型,jsonb和json 的输入数据几乎完全通用,最大的差别体现在效率上,json 存储的数据几乎和输入数据一样,存储的是未解析的数据,调用函数时使用效率较低; 而 jsonb ...
分类:
数据库 时间:
2015-09-01 01:32:47
阅读次数:
203
一、场景安装postgresql时可能因为配置有问题【后来定位问题是我把pg_hba.conf中local一栏的ident修改为peer就会出错】导致服务起不来,报错如下:[root@localhost ~]# /etc/init.d/postgresql restartStopping postg...
分类:
数据库 时间:
2015-08-31 19:12:31
阅读次数:
186
三、显式锁定 ? PostgreSQL提供了多种锁模式用于控制对表中数据的并发访问。这些模式可以用于在MVCC无法给出期望行为的场合。同样,大多数PostgreSQL命令自动施加恰当的锁以保证被引用的表在命令的执行过程中不会...
分类:
数据库 时间:
2015-08-31 13:44:08
阅读次数:
228
关于jdbc连接postgresql的demo。...
分类:
数据库 时间:
2015-08-31 11:52:22
阅读次数:
255
postgresql 表空间 tablespace
分类:
数据库 时间:
2015-08-30 17:09:55
阅读次数:
298
#coding=utf-8
#!/usr/bin/env?python
from?sqlalchemy?import?create_engine
engine?=?create_engine(‘postgresql://ms:ms@localhost:5432/stockpy‘)
from?sqlalchemy.ext.declarative?import?declara...
分类:
数据库 时间:
2015-08-30 16:04:09
阅读次数:
554
背景:gitlab.com通过bitbucket.org的账号授权登录,找不到密码
gitlab.com项目的输入密码报错,无赖在gitlab.com重新注册账号
通过sourcetree https://gitlab.com/xxx/xxx.git授权无法登录,,,,在https://[新的用户名+@]gitlab.com/xxx/xxx.git:例如:https://usern...
分类:
其他好文 时间:
2015-08-30 14:24:15
阅读次数:
602
按照日期范围查询有好几种方法,日期字段类型一般为:Timestamp without timezone方法一:select * from user_info where create_date >= '2015-07-01' and
create_date < '2015-08-15';方法二:select * from user_info where
create_date between '...
分类:
数据库 时间:
2015-08-29 18:52:57
阅读次数:
525