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.

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.

What is PostgreSQL DOUBLE PRECISION Data Type?

DOUBLE PRECISION data type is a floating-point data type. It offers high precision and wide storage space of 8 bytes.

PostgreSQL overlay() Function

The OVERLAY() function in Postgres replaces some specified characters in the given main string with another specified string.

PostgreSQL regexp_split_to_array() Function

In Postgresql, the regexp_split_to_array() function is used to split the specified string into an array using the specified POSIX regular expressions

What Do make_date() and make_time() Functions do in PostgreSQL?

The make_date () function takes arguments, then creates and returns a date with them. The make_time() function takes arguments, then creates and returns a time without a time zone.

PostgreSQL array_position() Vs. array_positions() - What's the Difference

Array_position() function gives the first occurrence of an element while the Array_positions() function gives all the occurrences of an element in an array.