do LANGUAGE plpgsql $$ declare top integer; row_org dbo.a_org_type%rowtype; begin /* Insert real code here */ select into row_org * from dbo.a_org_typ... ...
分类:
数据库 时间:
2018-11-18 11:39:04
阅读次数:
702
structHeapTupleHeaderData{union{HeapTupleFieldst_heap;DatumTupleFieldst_datum;}t_choice;ItemPointerDatat_ctid;//uint16t_infomask2;/*numberofattributes+variousflags*/uint16t_infomask;/*variousflagbits,
分类:
数据库 时间:
2018-11-18 11:38:48
阅读次数:
215
PostgreSQL是Odoo支持的数据库。PostgreSQL是起源于大学的一个历史很长的开源数据库系统。包括美国航天局NASA、德国证券交易中心、中国的平安、腾讯的微信支付、阿里巴巴的阿里云都在用PostgreSQL数据库。 PostgreSQL历史 上世纪70年代Edgar F. Codd博士 ...
分类:
数据库 时间:
2018-11-17 20:59:43
阅读次数:
255
.https://yum.postgresql.org/repopackages.php 这是官方下载页面,我们需要拷贝它的访问路径(我在这里安装的是10) 2.服务器中执行 yum install https://download.postgresql.org/pub/repos/yum/10/r ...
分类:
数据库 时间:
2018-11-15 13:47:37
阅读次数:
152
1.今日 2.昨日 3.最近半个月 4.最近6个月 说明: 查询结果:2018-05-01 00:00:00 ...
分类:
数据库 时间:
2018-11-14 14:15:41
阅读次数:
1917
windows linux 通用 第一步:通过 cmd 进入到postgresql 安装目录的 bin 下: cd C:\PostgreSQL\pg95\bin 第二步:备份数据库 pg_dump -h localhost -U TPlusPosAdmin -d tegen -f "C:\testd ...
分类:
数据库 时间:
2018-11-12 18:36:37
阅读次数:
231
因为公司需要使用greenplum,而官方的datax版本在导数据到greenplum时,速度是非常慢的(严格说是datax导数据到postgresql,在导入到GP时,数据走的是master,一条一条insert的,当然是慢)。 所以,这里采用了别人开发好的支持GP 的datax版本:https: ...
分类:
其他好文 时间:
2018-11-12 12:06:05
阅读次数:
4624
![](http://i2.51cto.com/images/blog/201811/11/101ab4c1482cc9d41e21c627c4b2e485.png?x-oss-process=image/watermark,size_16,text_QDUxQ1RP5Y2a5a6i,color_FFFFFF,t_100,g_se,x_10,y_10,shadow_90,type_ZmFuZ3po
分类:
数据库 时间:
2018-11-11 18:23:39
阅读次数:
146
内容 双系统下安装Django 新建项目 理解MVC控制模式 预告 学习views,url 安装django linux/ windows 安装python 安装python虚拟环境 安装django==1.8.13 安装数据库 默认自带SQLite, 该数据库无需配置。 PostgreSQL, M ...
分类:
其他好文 时间:
2018-11-10 23:54:46
阅读次数:
220
在PostgreSQL中定时刷新物化视图,除了crontab、pgAgent和触发器等传统方法外,还可以利用\watch命令来实现。 ...
分类:
数据库 时间:
2018-11-08 16:20:09
阅读次数:
1323