PostgreSQL
PostgreSQL is A open source object-relational database system, used for Relational Databases . PostgreSQL is a powerful,open source object-relational database system(ORDBMS).

Prepare
When referring to this document to use PostgreSQL, please read and ensure the following points:
-
Login to Websoft9 Console and find or install PostgreSQL:
- Go to My Apps listing applications
- Go to App Store installing target application
-
This application is installed by Websoft9 console.
-
The purpose of this application complies with the PostgreSQL open source license agreement.
-
Configure the domain name or server security group opens external network ports for application access.
Getting Started
Initial Setup
-
After completing the installation of PostgreSQL via the Websoft9 Console, retrieve the application's Overview and Access information from My Apps.
-
Enter the command mode of the PostgreSQL container and use psql to connect to the database:
# Test host-based access (password required)
$ psql -h postgres -U postgres
Password for user postgres.
psql (15.6 (Debian 15.6-1.pgdg120+2))
Type "help" for help.
postgres=#
# Test local access (no password required)
$ psql -d postgres -U postgres
Common SQL Statements
# Change password
ALTER USER postgres WITH PASSWORD 'postgres';