Postgres and Open Source Experts

Anytime. Anywhere. 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:

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_match() Function

In PostgreSQL, the regexp_match() function matches a regular expression in a specified main string. This function takes in the string and the regular expression to be matched along with a flag and returns the first matched substring from the main string.

Let’s get into the details of the regexp_match() function.

How Does PostgreSQL regexp_match() Function Do?

The regexp_match() function works almost the same as the regexp_matches() function. It basically returns …

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 regexp_split_to_table() Function

The regexp_split_to_table() function takes the string, the regexp, and the flag(if any) as arguments and returns a table column that contains the string characters with the Regexp as separators.

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.

How to Use array_dims() Function in PostgreSQL

The array_dims() gives out the information about the dimensions of an array. The array_dims() takes an array as a parameter and returns text that shows array dimensions.