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 Do make_timestamp() and make_timestamptz() Functions do in PostgreSQL?

In PostgreSQL, we use the make_timestamp() and make_timestamptz() functions to show the timestamps. Both functions give errors when the input parameters have some issue maybe due to the wrong data type, etc.

How to Create a Trigger in PostgreSQL

Triggers are useful in many ways such as keeping an audit for changes and transactions, applying the business rules, and validating the user input data.

How to Alter a Trigger in PostgreSQL

A trigger can be altered in PostgreSQL by using the ALTER TRIGGER command. We can rename the trigger and then verify if the change in name has occurred or not.

How to Use date_bin() Function in PostgreSQL

The date_bin() function is used to truncate a specified timestamp into another timestamp using an interval based on the original timestamps.

How the Exp() Function Works in PostgreSQL

The Exp() function in Postgresql takes a numeric value as an input and returns a value having a Numeric data type or specifically DOUBLE PRECISION.

How to Use cbrt() Function PostgreSQL

The cbrt() function in PostgreSQL takes a numeric value as an input and returns a value having DOUBLE PRECISION data type.

Exception Handling in PostgreSQL

Exceptions are unexpected issues that we encounter while executing a program code. These disturb and sometimes abort the normal functioning of the program.

How to Get Records From the Last 24 Hours in PostgreSQL

To get records from the last 24 hours in Postgres, execute the "SELECT * " command and set a condition to subtract "24 hours" from the current DateTime.

How to Use ASSERT Statement in PostgreSQL

PostgreSQL provides an ASSERT statement for inserting debugging checks for the program. The ASSERT statement provides a condition to the program.

How to Use Dollar-Quoted String Constants

To insert a single quote in the text, we will have to double it up. This makes the text very complex and unreadable in case the string contains many single quotes.