Connect to the PostgreSQL server, get the port number to which the user is connected, and change the port number from the “postgresql.conf” file from a computer.
Education
Professional Postgres and Open Source support
Command Prompt, Inc., is the oldest Postgres Company in North America and one of the oldest Open Source firms still operating today. We serve our clients with best in class expertise and professionalism. You can read more about support and services here:
- Postgres Support
- PgLTS: Extended Support for EOL Postgres
- Open Source Full Stack Support
- Try the latest PgManage (Open Source) and get rid of PgAdmin!
You have landed at the largest single source of Postgres education blogs in the world. At Command Prompt, we believe deeply that the education of the community is critical to the continued success of Postgres and related technologies. We hope you find content you are looking for and don't hesitate to Contact us today for all your Postgres and Open Source consulting and support needs.
How to Execute Stored Procedure With Parameters in PostgreSQL
Connect to the PostgreSQL database and head into the properties of the procedure. Locate the parameters and use them as arguments while calling the procedure.
How to Create a Read-Only User in PostgreSQL
To create a read-only user in PostgreSQL, create a role in the PostgreSQL database and grant read-only permissions to it. Create a user and grant the Role to it.
JSONB Data Type in PostgreSQL
JSONB is the binary format of storing and exchanging data in JSON syntax which is a human-readable format and PostgreSQL allows the use of JSONB data types.
A Complete Guide to UUIDs in PostgreSQL
Universal Unique Identifiers or UUID data types generate random values to be stored in the PostgreSQL database table. The user needs to create its extension before using it.
How to Solve the FATAL: Password Authentication Failed for User "Postgres" Error
Open the “pg_hba.conf” file from the local system and change the security method. Restart the application and change the password from the PostgreSQL server.
Procedures Vs. Functions in PostgreSQL
The major difference between a Procedure and a Function in PostgreSQL is that the Procedure does not return the value and the function does return it.
The CREATE PROCEDURE Statement in PostgreSQL
The CREATE PROCEDURE Statement contains the name of the procedure with its arguments. The body of the procedure contains steps to be performed.
How to Backup and Restore PostgreSQL Databases Using pgAdmin
Open the pgAdmin application and create a backup of the database by providing its location. Restore the database from the local system using the backup file.
How to Use Escape Single Quotes in PostgreSQL
Create a table in PostgreSQL with a field to store data in text format. Insert data in it to insert single quotes using multiple methods offered by the platform.