Experts in Postgres and Open Source Infrastructure

24x7, 365 Enterprise services since 1997

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:


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 Fix “currval of sequence is not yet defined in this session” Error When Calling CURRVAL() in PostgreSQL

In PostgreSQL, the “currval of sequence is not yet defined in this session” error occurs when the NEXTVAL() function is invoked before the CURRVAL() function.

How to Fix the “nextval: reached minimum value of sequence” Error in PostgreSQL

To fix "nextval: reached minimum value" issue, various solutions like the "Cycle" option, changing the minimum value, etc. are used in Postgres.

How to Setup Amazon RDS Aurora Postgres Database

To set up an Amazon RDS Aurora database, head into the RDS dashboard and create a database. Configure it by selecting the Aurora PostgreSQL-compatible engine.

How to Connect to the Amazon RDS Aurora Postgres DB Instance

Launch an EC2 instance and then create an AWS RDS database. Connect to the instance and use the database endpoint to connect to the RDS database.

How to Create an AWS RDS Aurora (PostgreSQL Compatible) DB in pgAdmin

Create an AWS RDS database using an Aurora PostgreSQL-Compatible engine and use its endpoint to create a server on the pgAdmin from the local system.

How to Backup and Restore PostgreSQL Databases Using Command Line

Open the terminal and head into the PostgreSQL directory. Use the pg_dump command to create a backup of the database and pg_restore to restore the database.

How to Fix “relation does not exist” Error in Postgres

The "relation does not exist" error in PostgreSQL can occur when accessing a table, usually due to incorrect naming, misspelling, etc.

JSON Functions and Operators in PostgreSQL

JSON is the data type in the PostgreSQL database and it can be used to store data in a human-readable textual form which is different from other formats.

How to Change Default Port in PostgreSQL

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.

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.