http://www.postgresonline.com/journal/archives/131-Using-Recursive-Common-table-expressions-to-represent-Tree-structures.html Tree Problem and was based on PostgreSQL 7.4 technology. We'll repeat the text here for completeness and demonstrate the Pos…
有时候真是挺幸运,正当我自以为是地认为掌握了某个知识点的时候,现实就会马上出现另外一个问题,让我知道之前的认知是不全面的. 正如我上篇博文中所述,如果一个自增字段达到了上限,而且继续向里面插入数据的话会出现 Failed to read auto-increment value from storage engine 的提示.但是今天遇到了另一个错误提示:Duplicate entry '127' for key 'PRIMARY',经过排查同样是因为自增字段达到了上限.那为什么同一个问题会出现…
openldap介绍和使用 为什么会有本文? 早期,公司是没有统一认证这个东西的,所以各自玩各自的.于是, confluence一个用户体系,gitlab一个用户体系,Jenkins一个用户体系等等, 开发中要用到的开源软件数不胜数,每个软件都要认证, 必须想办法统一账号. 第三系统的认证通常都是配置化的, 比如oauth, openid, ldap.兼容最广泛就是ldap了,虽然是很老的系统(LDAPv3 was developed in the late 1990's to replace…