上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 46 下一页
摘要: https://blog.csdn.net/nioqnw/article/details/84633181 a.触发器函数是触发器触发时调用,函数返回的类型必须是TRIGGER ,且不能有任何参数 b.postgresql触发器函数中自带一些特殊变量: NEW:数据类型是record,在insert 阅读全文
posted @ 2020-07-20 00:03 那时一个人 阅读(2440) 评论(0) 推荐(2)
摘要: https://www.cnblogs.com/JiangXiaoTian/articles/3670144.html --调用方法: --select * from GetChild('24') --select id from GetChild('24') --select * from KuC 阅读全文
posted @ 2020-07-19 20:47 那时一个人 阅读(725) 评论(0) 推荐(0)
摘要: 创建shell 脚本命令: root@2290b60f3ac6:~# cat clearlog.sh find /var/lib/postgresql/data/log/ -mtime +10 -name "*" -exec rm -rf {} \; 这个命令是find的基本用法,可以分两部分,fi 阅读全文
posted @ 2020-07-18 22:30 那时一个人 阅读(1133) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/zpf336/article/details/73809481?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-4.nonecase&dept 阅读全文
posted @ 2020-07-17 19:46 那时一个人 阅读(182) 评论(0) 推荐(0)
摘要: 之前一直以为while 语句只能在函数中执行,今天算是涨知识了. DO $$ DECLARE i INTEGER := 1; identityId BIGINT := 200000000001; BEGIN WHILE i < 100 LOOP identityId = identityId + 1 阅读全文
posted @ 2020-07-17 18:41 那时一个人 阅读(351) 评论(0) 推荐(0)
摘要: import csv import random class XmlFormat(object): def __init__(self): self.wf = open('data/res_location.xml', 'w', encoding='utf-8') self.add_header() 阅读全文
posted @ 2020-07-15 19:54 那时一个人 阅读(335) 评论(0) 推荐(0)
摘要: def func(*args, **kwargs): print('{}'.format(kwargs)) print('{}'.format(args)) pass if __name__ == '__main__': var_kw = dict( a=1, b=2 ) func(1, 2, a= 阅读全文
posted @ 2020-07-15 15:10 那时一个人 阅读(550) 评论(0) 推荐(0)
摘要: &lt; < &gt; > &amp; & &apos; ' &quot; " &nbsp; 空格 阅读全文
posted @ 2020-07-14 19:13 那时一个人 阅读(688) 评论(0) 推荐(0)
摘要: ![](https://img2020.cnblogs.com/blog/1482713/202007/1482713-20200714151105169-233989440.png) 阅读全文
posted @ 2020-07-14 15:12 那时一个人 阅读(761) 评论(0) 推荐(0)
摘要: 错误原因: 没有添加模块依赖, 阅读全文
posted @ 2020-07-13 17:56 那时一个人 阅读(560) 评论(0) 推荐(0)
上一页 1 ··· 24 25 26 27 28 29 30 31 32 ··· 46 下一页