标题: 请教一些PG 初级的问题 how to switch between databases? [打印本页] 作者: khandielas 时间: 2009-05-16 23:03 标题: 请教一些PG 初级的问题 how to switch between databases? ubuntu 上面 安装了 PG 8.3
Now enter the same password that you used previously.
Then, from here on in we can use both pgAdmin and command-line access (as the postgres user) to run the database server. But before you jump into pgAdmin we should set-up the PostgreSQL admin pack that enables better logging and monitoring within pgAdmin. Run the following at the command-line:
$ sudo su postgres -c psql < /usr/share/postgresql/8.3/contrib/adminpack.sql
ubuntu:~$ su - postgres
Password:
Added user postgres.
postgres@ubuntu:~$ psql -U postgres
Welcome to psql 8.3.7, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help with psql commands
\g or terminate with semicolon to execute query
\q to quit
另外我现在想作个免费的hospital information system, 不想用mysql因为医院对速度要求不高。考虑到以后的功能拓展,PG 应该是最好的。如果哪位PG高手有兴趣,愿意出点力的话,请联系我 free.his.cn@gmail.com
现在国内主流医院系统的都是用SQL server 和 oracle。