Read about how to exit postgres command line, The latest news, videos, and discussion topics about how to exit postgres command line from alibabacloud.com
Summary of Postgres operations in Ubuntu
1.Basic operation commands
After the installation is complete, PostgreSQL creates a database user account named Postgres by default. It is a super Administrator account like the root account of MySQL
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
Recently the company requested to back up the database, so we looked up the comparative information. Don't say much nonsense, into the subject.Objective: To regularly back up the Postgres database under Ubuntu, and to pack and upload to the
Use CreateUser to create a user[Plain]View Plaincopyprint?
[Email protected] ~]$/data/pgsql/bin/createuser--help
CreateUser creates a new PostgreSQL role.
Usage:
CreateUser [OPTION] ... [ROLENAME]
Options:
-C,--connection-limit=n
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
Installing PostgreSQL using RPM packages in Linux
Postgresql and MySQL are currently popular and active open source relational database systems. Compared with high-end Oracle commercial products, Postgresql and MyQL have much room for improvement in
Install the open source database PostgreSQL 9.4 and phpPgAdmin on UbuntuIntroduction
PostgreSQL is a powerful, open-source, and Object-based relational database system. It supports all mainstream operating systems, including Linux, Unix (AIX, BSD,
About the use of PostgreSQLPlatform: Ubuntu 12.04 & 14.04Version: PostgreSQL 9.3.4 PostgreSQL installationSee website installation process Add userAfter initial installation, a database named Postgres and a database user named Postgres are generated
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.