pgsql function 系列之一:返回结果集--------------------------------------------------------------------------------我们在编写postgresql数据库的函数(或称为存储过程)时,时常会遇到需要返回一个结果...
分类:
数据库 时间:
2016-03-02 10:43:35
阅读次数:
261
pgbouncer是一款轻量级针对postgresql的数据库连接工具,可以对客户端的连接做限制,防止恶意连接,另外也可以减少数据库的实际连接数,从而减少数据库的开销。 环境: centos 6.5 postgresql-9.3.4 pgbouncer-1.5.3 libevent-1.4.13 p
分类:
系统相关 时间:
2016-03-01 17:18:04
阅读次数:
378
GitLab的安装方式 GitLab的两种安装方法: 编译安装 优点:可定制性强。数据库既可以选择MySQL,也可以选择PostgreSQL;服务器既可以选择Apache,也可以选择Nginx。 缺点:国外的源不稳定,被墙时,依赖软件包难以下载。配置流程繁琐、复杂,容易出现各种各样的问题。依赖关系多
分类:
其他好文 时间:
2016-03-01 00:48:39
阅读次数:
315
前言 由于kali linux的版本不同,默认情况下对metasploit和postgresql的配置也不相同,导致我们启动metasploit后连接postgresql数据库会遇到无法连接的情况。下面就三种情况,简单的给大家描述一下,以及遇到问题的解决方案。 理想状态 理想情况下,只需要两步即可。
分类:
数据库 时间:
2016-02-29 00:25:30
阅读次数:
505
创建表: CREATE TABLE countries( country_code char(2) PRIMARY KEY, country_name text UNIQUE ); 插入数据: INSERT INTO countries(country_code,country_name) VALU
分类:
数据库 时间:
2016-02-25 22:59:25
阅读次数:
219
1. 首先安装postgresql数据库 yum install postgresql yum install postgresql-server yum install pgadmin3 yum install postgresql-contrib 2. 前往官网下载源代码 http://init
分类:
其他好文 时间:
2016-02-24 10:45:50
阅读次数:
178
CentOs中mysql的安装与配置【转】 在linux中安装数据库首选MySQL,Mysql数据库的第一个版本就是发行在Linux系统上,其他选择还可以有postgreSQL,oracle等 在Linux上安装mysql数据库,我们可以去其官网上下载mysql数据库的rpm包,http://dev
分类:
数据库 时间:
2016-02-24 09:31:03
阅读次数:
230
配置 数据库 默认sqlite, 支持Mysql,postgresql,oracle 更改时区 查看表结构 .schema (SQLite), display the tables Django created. 新建Models models原始文件 from django.db import m...
分类:
其他好文 时间:
2016-02-22 11:58:01
阅读次数:
162
pgsql 分区表: --主表 create table test(id integer, name varchar(32)); create index idx_test_id on test using btree(id); --分表 create table test_b (like test
分类:
数据库 时间:
2016-02-19 10:32:48
阅读次数:
211
Pentaho Data Integration(kettle):一个优秀的抽取、转换、加载(Extract Transform and Load,ETL)工具 Pentaho Report Server:一个强大的报告引擎 PgAdmin3:一个极好的数据库管理工具 php5-postgresql
分类:
数据库 时间:
2016-02-19 09:07:33
阅读次数:
218