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.

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.

How to Remove/Delete Password for a User in PostgreSQL

To remove/delete a password for a user in Postgres, execute the “ALTER USER user_name PASSWORD NULL;” command. Replace user_name with the username of your choice.

How to Use UPDATE JOIN in PostgreSQL

UPDATE JOIN in PostgreSQL is used to alter the values of the tables using the reference of the other table having a common column available in both tables.

How to Use PostgreSQL Transaction

A database transaction in PostgreSQL is used to perform multiple steps at once and confirm it using the COMMIT clause or reverse it with the ROLLBACK keyword.

How to Use NATURAL JOIN in PostgreSQL

NATURAL JOIN supports INNER, LEFT, and RIGHT JOINs but uses INNER by default as it is used to combine multiple tables having the same field names.

How to Use FULL OUTER JOIN in PostgreSQL

FULL OUTER JOIN combines the working of both LEFT and RIGHT JOINs to produce a result table containing matched and unmatched results from the tables.