代码改变世界

阅读排行榜

PostgreSQL Obtaining the Result Status

2015-12-14 17:09 by DataBases, 699 阅读, 收藏,
摘要: There are several ways to determine the effect of a command. The first method is to use the GETDIAGNOSTICS command, which has the form:GET [ CURRENT ]... 阅读全文

python使用指定仓库安装python需要的包

2020-10-16 12:01 by DataBases, 695 阅读, 收藏,
摘要: pip install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple pip3 install -r requirements.txt -i http://mirrors.aliyun.com/pypi/simple/ 阅读全文

避免硬编码你的PostgreSQL数据库密码

2016-04-04 09:00 by DataBases, 694 阅读, 收藏,
摘要: 一个密码文件包含了我们需要连接的五个字段,所以我们可以使用文件权限来使密码更安全。 host:port:dbname:user:password such as myhost:5432:postgres:sriggs:moresecure 密码文件是使用一个叫PGPASSFILE的环境变量来设置的。 阅读全文

查询语句执行的5个阶段

2017-05-07 17:31 by DataBases, 693 阅读, 收藏,
摘要: 查询语句执行的5个阶段1.SQL输入数据库接受用户输入的SQL语句,准备执行。2.语法分析对输入的SQL语句进行词法分析,语法分析,得到语法分析树;这一阶段输出一颗多叉树。3.语义检查根据语法树和系统的元信息进行语义检查,对语法分析树进行逻辑判断,树的结构不发生变化。对语法分析树上的各个结点进行语义 阅读全文

pgpool中定义的数据库节点及pgpool支持的复制模式

2017-06-20 12:28 by DataBases, 692 阅读, 收藏,
摘要: /* * The first DB node id appears in pgpool.conf or the first "live" DB * node otherwise. */#define REAL_MASTER_NODE_ID (Req_info->master_node_id)/* * 阅读全文
上一页 1 ··· 26 27 28 29 30 31 32 33 34 ··· 80 下一页