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 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.

How to Use DELETE JOIN in PostgreSQL

DELETE JOIN is not directly supported by the PostgreSQL database but a DELETE statement with either USING or WHERE clauses can be used for this purpose.