[programming basics] Python configuration file reading library ConfigParser summary

The Python ConfigParser tutorial shows you how to use ConfigParser to use configuration files in Python. Article catalog 1 Introduction 1.1 Python ConfigParser reading files 1.2 sections in Python configparser 1.3 Python ConfigParser reading data from strings 1.4 Python ConfigParser reading data fro ...

Posted by turboprop on Sun, 21 Jun 2020 02:23:45 -0700

PostgreSQL installation tutorial of girlfriend metropolis

Pure Linux PostgreSQL offline installation tutorial for girlfriend PostgreSQL database installation, based on version 10.5.1, Use *. gz binary compression package to install manually on Linux system. Installation package: postgresql-10.5.1-linux-x64-binaries.tar.gz 1. Create postgres user groupadd p ...

Posted by PHP_PhREEEk on Sat, 13 Jun 2020 20:33:40 -0700

Migration of DATA directory under Windows

1. View the current data (or insert new data) as a marker. highgo=# create table t1(id int,name text); CREATE TABL id | name ----+---------------------------------- 1 | cf9920dd1f8a7be7e56a85f8a3e018f6 2 | cf9920dd1f8a7be7e56a85f8a3e018f6 3 | cf9920dd1f8a7be7e56a85f8a3e018f6 4 | cf9920dd1f8a7be ...

Posted by conman90 on Tue, 26 May 2020 08:43:53 -0700

What else can rm do besides running

[toc] preface Every time we execute rm commands on the production environment server, we are always on the edge of our pants, because once we accidentally execute the error deletion, we will be ready to run. After all, people are not machines, let alone machines have bug s, hehe. So what if you really delete files that should not be deleted, su ...

Posted by cashflowtips on Thu, 21 May 2020 03:16:52 -0700

Develop blog project based on abp vNext and. NET Core - data access and code first

Last article( https://www.cnblogs.com/meowv/p/12909558.html )Improved the code in the project and connected to Swagger. This article mainly uses the Entity Framework Core to access the database, and uses the code first method for data migration and automatic creation of table structure. data access Add our data access context object MeowvBl ...

Posted by Monshery on Wed, 20 May 2020 02:56:28 -0700

pg database security configuration

Safety configuration instruction [TOC] Database security configuration is one of the important links of database management. Security configuration mainly includes password, network access control, audit, etc. Next, we will explain how to realize the password related security configuration in Hangao database. 1 password encrypted storage The pa ...

Posted by zavin on Tue, 12 May 2020 01:04:56 -0700

Analysis of common parameters of execution plan

1,ANALYZE Actually execute the actual SQL, and see the time of each step of the execution plan 2,VERBOSE Additional information for explicit planning, additional information: columns output by each node in the planning tree. The trigger being fired also displays the name of the initiator. The default is FALSE. 3,COS ...

Posted by chard on Sun, 03 May 2020 14:52:16 -0700

postgres10 configure page

operating system Modify / boot/grub2/grub.cfg Navigate to the first 'menu' CentOS Linux 'and add it on the last side of "linux16 /vmlinuz" numa=off transparent_hugepage=never default_hugepagesz=2M hugepagesz=2M hugepages=1536 *hugepagesz indicates the page size. Choose one of 2M and 1G, and the default is 2m. hugepages ...

Posted by Wildbug on Sun, 03 May 2020 05:44:10 -0700

PostgreSQL black technology - recursive dichotomy for Chinese character segmentation

PostgreSQL black technology - recursive dichotomy for Chinese character segmentation This article is PostgreSQL fuzzy query In the improved version, the number and English words are extracted separately without segmentation. 1. Create a punctuation function in the clear text At present, the punctuation I can think ...

Posted by rajbal on Fri, 01 May 2020 17:33:16 -0700

An interesting phenomenon of postgresql

Create a table in the postgresql line, highgo=# create table abcd (int int); CREATE TABLE Then create a table with the data type of the column using the table name you just created. highgo=# create table abcde (abcd abcd); CREATE TABLE Created successfully. Will each created table generate a type with the ...

Posted by dinku33 on Fri, 01 May 2020 07:33:23 -0700