postgresql
TPCloud
这个作者很懒,什么都没留下…
展开
-
postgresql日期和时间函数
postgresql的一些基本日期和时间函数1,age(timestamp,timestamp) :两个时间具体时间差postgres=# select age(timestamp '2019-01-09',timestamp '2011-03-25'); age ------------------------ 7 ye...原创 2020-01-09 16:21:48 · 1528 阅读 · 0 评论 -
redhat 6.8安装postgresql 10
这个世界并不在乎你的自尊,只在乎你做出来的成绩,然后再去强调你的感受。------比尔.盖茨一,访问官网登陆postgresql官网下载地址,并根据自己操作系统信息进行配置下载。我的操作系统为redhat 6.8,下载地址为:https://www.postgresql.org/download/linux/redhat/二,下载安装(在联网的状态下)2.1,选择配置2.2, Install th...原创 2018-03-05 15:25:08 · 1491 阅读 · 0 评论 -
postgresql 10内部命令
1,登陆postgresql 10[root@postgredb ~]# su - postgres-bash-4.1$ -bash-4.1$ -bash-4.1$ psqlpsql (8.4.20, 服务器 10.3)警告:psql 版本8.4, 服务器版本10.0.一些psql功能可能无法工作.输入 "help" 来获取帮助信息.2,基本内部命令 2.1,一般性 \cop...原创 2018-03-05 16:01:16 · 530 阅读 · 0 评论 -
postgresql参数配置文件解析
对于一个数据库服务器,参数配置文件对于数据库的影响是非常巨大的,了解参数配置文件的基本使用是很有必要的。一、配置文件位置 1: 配置文件名称为postgresql.conf[postgres@oracle11g data]$ ls -l postgresql*.conf-rw------- 1 postgres postgres 88 Aug 1 20...原创 2019-08-05 17:48:24 · 987 阅读 · 0 评论 -
postgresql 10.9 源码安装
了解一个产品的最好方式就是熟练使用它。 postgresql:世界上最先进的开源关系型数据库,为了熟练使用它,我们必须先安装它。一、安装需求 1.1,要求GNU make版本3.80或以上;其他的make程序或更老的GNU make版本将不会工作。[root@oracle11g postgre]# make --versionGNU Make 3.81Co...原创 2019-08-02 11:51:54 · 691 阅读 · 0 评论 -
postgresql源码安装参数
通过源码安装postgresql时,在configure阶段,可以通过指定不同参数来定制需求。一、个人本地基本环境: 操作系统:redhat 6.4 数据库:postgresql 10.9二、基本参数(说明:本文所有参数解释来自PostgreSQL 9.5.3中文手册) 示例:./configure --prefix=installdir--pr...原创 2019-08-02 12:58:31 · 612 阅读 · 0 评论