博客 找到与“postgresql”相关的博文共48篇
按相关性排序  按时间排序
将postgres数据库移植到powerpc-linux上   2009-11-30 17:32:04
下载源码,postgresql的官网是 这个不用我教了吧。加压源码 tar-zxvf postgresql...加压源码 tar-zxvf postgresqlxxxx.tar.gz执行configure这个比较关键,你得想想最终的二进制文件放到哪儿运行...$$$PGLIB"copy一个启动脚本过来(主机的postgresql编译目录)#postgres...
PostgreSQL 数据库使用小记   2009-11-06 16:16:27
IP范围。#TYPEDATABASEUSERCIDR-ADDRESSMETHOD#IPv4 local connections:以上红色部分为新添加的项。以上内容需要注意以下两点:1.数据库名与用户名注意大小写,PostgreSQL是区分大小的; 2.CIDR-ADDRESS(用户的IP范围)的值的格式是:IP/数值 数值取值范围为:即表示掩码...
centos5 gforge 5.6 简宜安装过程   2009-10-30 15:38:04
Installer v5.0#-Do you want to perform an (I)nitial installation or an (U)pgrade ofthe system?提示选择安装还是升级程序,输入 I系统自动安装软件,Php相关、apache、postgresql等。完成后提示输入postgresql数据库名:Database Namegforge5Database Username...
Use ARRAY and GIN INDEX in postgresql   2009-09-10 17:28:39
need to get all sales of a particular product whenI need all products of a sales in other times.So I make two design the mapping relation in postgresql(I omitsales table in both two cases since they are nothingdifferent):1.Use a productXsales table...
Windows下PostgreSQL的安装   2009-08-25 20:40:55
2.1说明的第5步是把postgresql注册成一个windows服务的操作。对于开发人员来说就是自己本机调试程序用,所以根本不需要。把最上面的钩去掉以后同时也就省略了创建postgres用户这个动作。2.2因为不需要安装成服务,安装过程里6~8步没了。2.3第11步去掉Launch StackBuilder...
vista系统下安装postgresql时postgres超级用户的删除   2009-07-30 20:47:24
postgresql8.4安装的时候,需要设置超级用户postgres的密码。如果是第一次安装postgresql的话,直接数据即可。可是如果是已经安装过postgresql的话,需要输入postgresql用户的密码。在XP系统中如果不知道postgresql用户的密码。我们可以把postgresql用户先删除。然后安装数...
[原创]使用postgreSQL+bamboo搭建比lucene方便N倍搜索   2009-07-20 13:49:52
基本上明白上面这段话后,来学习四个概念:tsvector、tsquery、、gin。1.tsvector:在postgreSQL8.3自带支持全文检索功能,在之前的版本中需要安装配置tsearch2才能使用...在postgresql中全文检索匹配操作使用@操作符,如果一个tsvector(document) 匹配到 tsquery(query...
postgreSQL建表注意事项   2009-07-14 10:35:08
最终创出来的表名都是小写。比如,创建一个表LogList:Create Table LogList (No integer,Log char(64))其实创建的表名为loglist。再用select语句在information_schema.tables表中查找某个表的对应记录Select count(*) from where table_name='LogList'会找到0条记录...
使用postgreSQL搭建比lucene方便N倍的全文搜索 第一部   2009-07-06 18:27:18
cmake-2.6.4.tar.gz(编nlpbamboo用)CRF+-0.53.tar.gz(同上)分词用)索引用)安装pgsqltar-zxvf configure prefix=/opt/pgsqlmakemake installuseradd postgrechown...configure prefix=/opt/pgsqlmakemake installuseradd postgrechown-R postgre.postgre/opt/pgsqlsu...
PostgreSQL installation on Fedora 8   2009-06-28 17:45:31
PostgreSQL的安装就完成了,但还需要进行相应的后续工作。建立数据库目录#mkdir/chown-R postgres.postgres/usr/local/pgsql/data此时,以postgres用户登录#su-postgres$/D/usr/local/pgsql/data/$ cd/usr/local/pgsql/bin启动服务$ pg_ctl-D/starting创建数据库$...
相关搜索