linux postgresql
来源:互联网 发布:网络微电影女主角 编辑:程序博客网 时间:2024/06/06 08:28
root:
yum install http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-redhat93-9.3-1.noarch.rpm
yum install postgresql93-server postgresql93-contrib
service postgresql-9.3 initdb
chkconfig postgresql-9.3 on
service postgresql-9.3 start
postgresql-9.3
...
createdb ...
psql ...ok可以用了。
编辑postgreaql.conf里面的listen_address='*'
在pg_hba.conf里添加信任的ip地址192.168.1.0/24
可以连上了。
文件位置/var/lib/pgsql..
CREATE OR REPLACE FUNCTION trigf()
RETURNS trigger AS
'/home/postgres/testtriger.so', 'trigf'
LANGUAGE c VOLATILE
COST 1;
ALTER FUNCTION trigf()
OWNER TO postgres;
CREATE OR REPLACE FUNCTION qhsrvaccount_monitor()
RETURNS trigger AS
'/home/postgres/qhsrvaccount_monitor.so', 'qhsrvaccount_monitor'
LANGUAGE c VOLATILE
COST 1;
ALTER FUNCTION qhsrvaccount_monitor()
OWNER TO postgres;
CREATE OR REPLACE FUNCTION qhcardinfo_monitor()
RETURNS trigger AS
'/home/postgres/qhcardinfo_monitor.so', 'qhcardinfo_monitor'
LANGUAGE c VOLATILE
COST 1;
ALTER FUNCTION qhcardinfo_monitor()
OWNER TO postgres;
CREATE TRIGGER tbefore BEFORE INSERT OR UPDATE OR DELETE ON qhsrvaccount
FOR EACH ROW EXECUTE PROCEDURE qhsrvaccount_monitor();
- linux postgresql
- linux上安装postgresql
- Linux下postgresql 安装
- PostgreSQL on Ubuntu Linux
- linux下安装PostgreSQL
- linux安装postgresql数据库
- postgresql for linux
- Linux安装PostgreSQL 9.4
- Linux Postgresql 安装,使用
- Linux下postgresql安装
- linux安装postgreSQL
- PostgreSQL基本操作-Linux
- linux下调试postgreSQL
- linuX安装postgresql地址
- linux,postgresql下载
- postgresql Linux 二进制文件安装
- linux安装postgresql
- linux上部署postgresql
- Ubuntu 9.10的业力考拉基准及检讨 - 温敏开关制造商
- TorrentFlux的,b4rt洪流服务器如何安装Ubuntu的洪流服务器
- THE NEW HTC手机智能对待生活
- Talkfree7手机电视,IPTV,VOIP-GPS-3G手机,WAP是未来
- Tagtile的收购被Facebook
- linux postgresql
- Subversion版本控制系统
- SQL虚拟主机第2部分
- 不知道该看点什么,随意翻到ACM学习规划,看看激励下
- SQL网络hosting-做出正确的选择
- SP的WAP行业处于一个尴尬的位置
- Spybubble评论 - 手机间谍爸爸妈妈
- hdu4901 枚举状态(找集合对S(xor) ==T(and))
- Selftrack跟踪系统