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.

PostgreSQL transaction_timestamp() Function

The transaction_timestamp() function returns the timestamp for the current transaction. This function does not need any argument.

What Does starts_with() Function Do in PostgreSQL

The starts_with() function takes a string and checks whether that string starts with another specified string passed as an argument in the function and returns a boolean.

Raise Notice Statement in PostgreSQL

RAISE NOTICE is used to raise an error and report a message and that error is reported back to the user. It is followed by a format that is basically the string we want to show to the user.

How to Use strpos() Function in PostgreSQL

The strpos() is a built-in function in PostgreSQL that is used to determine the position/location of a sub-string in a main string.

What Does SELECT LIMIT Statement Do in PostgreSQL

The SELECT LIMIT statement is used to limit data up to a specified number of rows. The number of rows has to be specified after the LIMIT keyword.

PostgreSQL array_fill() Function

The array_fill() is a function that fills an array with a specified argument. The dimensions of that array are also specified in that function as an argument.

How to Use the make_interval() Function in PostgreSQL?

The make_interval() method generates an interval based on the arguments passed into it. All the arguments are of INT data type except the last one i.e. seconds, which is of DOUBLE PRECISION.

How to Use translate() Function in PostgreSQL

The PostgreSQL translate() function returns a string after replacing a set of strings from one main string with some set of characters specified.

How to Find Square of a Number in PostgreSQL

In PostgreSQL, there are two ways to calculate/get the square of a number: the POWER() function and a user-customized logic, i.e., multiplying the number by itself.

PostgreSQL CITEXT Data Type

The CITEXT data type in PostgreSQL is case-insensitive that allows us to do text comparisons without worrying about the case.