Postgresql
horace_lee
这个作者很懒,什么都没留下…
展开
-
MAC 和 Postgresql 第二篇
[url=http://hlee.iteye.com/blog/1689304]非常有用的相关资料[/url] [color=red]UPDATE(05/06/2013):[/color] still works fine for MAC modify /usr/local/var/postgres/postgresql.conf get localhost works [...原创 2012-10-16 11:56:28 · 91 阅读 · 0 评论 -
heroku quick deploy
[code="ruby"] #need pg in Gemfile #sqlite3 in dev 1) gem install heroku 2) heroku login 3) heroku create 4) heroku apps:rename newapp [https://devcenter.heroku.com/articles/renaming-apps...原创 2012-10-18 23:07:17 · 126 阅读 · 0 评论 -
ruby readline的两种写法
[code="ruby"] f = File.read('public/file.csv').read lines = f.each_line.map{|x|x} lines = File.readlines('public/file.csv') [/code]原创 2013-04-09 10:21:45 · 748 阅读 · 0 评论 -
postgresql install and configure for ubuntu
ABSTRACT PostgreSQL is an object-relational database system that has the features of traditional commercial database systems with enhancements to be found in next-generation DBMS systems. This blog...原创 2013-04-25 08:13:01 · 129 阅读 · 0 评论 -
Postgresql 和 rails
[color=red]update(05/13/2013) [/color] ubuntu only [code="java"]ALTER USER postgres with encrypted password 'your_password';[/code] [code="ruby"] #/etc/postgresql/9.1/main/postgresql.conf #loc...原创 2012-09-24 02:46:03 · 129 阅读 · 0 评论 -
Mac OSX 和 posgresql (2013再次更新版)
[color=red]UPDATE(2013/06/01)[/color] [code="java"]brew services restart postgresql psql -U kenlu -h localhost -d postgres [/code] 几个重要说明: 1. mac 下brew安装后要initdb 2. 启动后,默认管理员是系统当前帐户 3. psql不认的时...原创 2012-10-03 05:03:44 · 152 阅读 · 0 评论