随笔分类 - Postgresql
摘要:import psycopg2cxn = psycopg2.connect(user='postgres',password='root')cur = cxn.cursor()cur.execute('SELECT * FROM pg_database')rows = cur.fetchall()for i in rows: print icur.close()cxn.commit()cxn...
阅读全文
posted @ 2016-08-14 13:13
意发并行
摘要:postgresql 9.3 密码 root port:5432安装完成之后将postgresql安装目录下的bin的目录加入环境变量PATH中,<!--more--> 意选择Locale的时候选择C,因为postresql不支持GBK编码。 来自为知笔记(Wiz)
阅读全文
posted @ 2016-08-08 16:39
意发并行

浙公网安备 33010602011771号