"Editor's note" as an open source object-relational database, Postgres has been loved by many developers. Recently, Postgres officially released version 9.5, which has been a lot of repair and functional improvements. This article will share 10
Data conversion in the S database and postgres Data Conversion
After s8.3, the default conversion between field data is canceled. If you need to perform data transformation, you can use ":" in the S database to convert the field data type. Actually,
After postgres8.3, the default transitions between field data are canceled. If a data transformation is required, in the Postgres database, we can use "::" To convert the field data into a type. The actual "::" is called by the cast function.
A new feature of PostgreSQL 9.2 is the range type range types, by which you can easily guess the purpose of the type, which allows you to define a range of values for a column of data.
This simple feature lets us not define two fields to describe
BackgroundPostgreSQL logical backup, refers to online backup database data, DDL output as SQL statements, data can be in the form of SQL statements or fixed separators (row format) output.
The backup does not affect the DML operation of the Backup
Seven, Pg_dump:
Pg_dump is a tool for backing up the PostgreSQL database. It can even make a full, consistent backup when the database is being used concurrently, without blocking access to the database by other users. The dump format generated by
Describes the range type features and PostgreSQL features in postgresql.
A new feature of PostgreSQL 9.2 is the range type range types. With this name, you can easily guess the purpose of this type. It allows you to define a value range for a column
1. InstallationThe latest version is automatically installed using the following command, 9.5sudo apt-get install PostgreSQLWhen the installation is complete, the default is:(1) Create a Linux user named "Postgres"(2) Create a default database
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.