PostgreSQL
文章平均质量分 55
icodec
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Install PostgreSQL on Ubuntu
OS version: Ubuntu 12.04 (64-bit) 1. sudo apt-get install postgresql-9.1 2. PostgreSQL for python sudo apt-get install libpq-dev sudo pip install psycopg2 Posted by ian at 21:49原创 2012-11-21 00:41:48 · 305 阅读 · 0 评论 -
Country/Region Strings (CRT)
The following is a list of Country/Region strings recognized by setlocale. Strings for countries/regions that are not supported by the operating system are not accepted by setlocale. Three-letter Co原创 2012-11-21 00:46:54 · 465 阅读 · 0 评论 -
Windows下使用phpPgAdmin
学习Python的时候,安装了PostgreSQL,这个数据库功能也比较好。只是从来没有用过。简单的安装和创建数据库表以后,想安装个web版管理PG的。 于是找到了phpPgAdmin,配置完Apache之后,提示没有修改配置文件: “Configuration error: Copy conf/config.inc.php-dist to conf/config.inc.php and ed原创 2012-11-21 00:47:07 · 1050 阅读 · 0 评论 -
PostgreSQL基本命令
默认安装后,认证方式为peer,只能使用postgres帐号登录。 sudo -u postgres psql 成功后,有如下提示: psql (9.1.4) Type “help” for help. postgres=# 然后,就可以进行一些数据库的操作。 一些命令帮助: \h :查看SQL命令 \? :查看psql本身的命令 使用q可以退出查看的页面。 比如,\l,查看原创 2012-11-21 00:41:33 · 364 阅读 · 0 评论 -
PostgreSQL windows版本的速度慢
在windows xp操作系统下,使用web.py框架,进行sample code Blog演示的时候,发现速度太慢了。 相比MySQL,明显能感觉出来。 PostgreSQL的版本为9.1 . MySQL的版本为5.4. Apache版本为2.2。 PostgreSQL的fsync功能打开,并且设置为off。 测试的时候,只要修改model.py的db定义,将dbn修改为’postgr原创 2012-11-21 00:47:21 · 1032 阅读 · 0 评论
分享