Postgres and Open Source Experts

24x7x365 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 the PREPARE Statement Works in PostgreSQL

In PostgreSQL, the PREPARE statement creates a prepared statement that can be utilized repeatedly. It allows us to execute the command with different values.

How to Install and Set Up Docker PostgreSQL Environment

To install the Docker PostgreSQL environment, install Docker on the system from the official link. After that, pull the Postgres image from Docker Hub using the “docker pull postgres”.

How to Delete Data From PostgreSQL Tables Using Python

To delete data from PostgreSQL tables using Python, execute the delete query with the help of the “execute()” function.

How to Call a User-defined Function in PostgreSQL

To call/invoke a user-defined function in PostgreSQL, Positional Notation, Named Notation, or Mixed Notation can be used.

Creating a Repeating Sequence in PostgreSQL: A Comprehensive Guide

To create a repeating sequence in Postgres, the CREATE SEQUENCE command can be executed with the “CYCLE” option enabled.

What is the Equivalent of Java Long in PostgreSQL

In PostgreSQL, the "BIGINT" data type is used to store extremely large positive or negative numbers and can serve as an alternative to Java’s Long data type.

How to List User-Defined Functions in PostgreSQL

In PostgreSQL, the “\df” mata-command, “information_schema.routines” View, and the “pg_proc” Catalog is used to get the list of user-defined functions.

CREATE FUNCTION Statement in PostgreSQL

The CREATE FUNCTION statement allows us to create a user-defined function by specifying its name, parameters, return type, and the language to be implemented.

How to Update a Postgres Table Using Python

To update a Postgres table using Python, first, create a Python file, import the “psycopg2” library, make a connection between Postgres and Python, and update table.

How to Create a Postgres Table Using Python

To create a Postgres table using Python, first, create a Python file, import the “psycopg2” library, establish the connection between Postgres and Python, and create a table.