代码改变世界

阅读排行榜

【PostgreSQL】PostgreSQL中的锁--表锁

2022-06-15 08:58 by abce, 3943 阅读, 收藏,
摘要: 【PostgreSQL】PostgreSQL中的锁--表锁 示例环境 postgres=# create table locktest(c int); CREATE TABLE postgres=# insert into locktest values(1),(2); INSERT 0 2 pos 阅读全文

mysql中的read_only和super_read_only

2021-04-06 14:39 by abce, 3930 阅读, 收藏,
摘要: 在引入super_read_only之前,mysql提供了一个选项read_only。开启read_only之后,会阻止没有super权限的用户执行数据库更新操作。read_only主要用于复制节点。super_read_only不仅会阻止普通用户,也会阻止具有super权限的用户对数据库写操作。r 阅读全文

PostgreSQL中enable、disable和validate外键约束

2020-11-14 09:22 by abce, 3930 阅读, 收藏,
摘要: postgres=# create table t1(a int primary key,b text,c date); CREATE TABLE postgres=# create table t2(a int primary key,b int references t1(a),c text); 阅读全文

Warning: Function created with compilation errors.

2017-06-22 20:50 by abce, 3926 阅读, 收藏,
摘要: 查看并解决: 阅读全文

PostgreSQL 14的SCRAM身份验证

2022-02-11 02:42 by abce, 3915 阅读, 收藏,
摘要: 升级到PostgreSQL14之后,会遇到以下错误: FATAL: password authentication failed for a user FATAL: Connection to database failed: connection to server at “localhost” 阅读全文
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 246 下一页