RefLib

Reference library for AI

Back

postgresql_16:9.6.20 intarray — manipulate arrays of integers

PostgreSQL 16 > Appendixes > Additional Supplied Modules and Extensions > intarray — manipulate arrays of integers

The intarray module provides a number of useful functions and operators for manipulating null-free arrays of integers. There is also support for indexed searches using some of the operators.

All of these operations will throw an error if a supplied array contains any NULL elements.

Many of these operations are only sensible for one-dimensional arrays. Although they will accept input arrays of more dimensions, the data is treated as though it were a linear array in storage order.

This module is considered “trusted”, that is, it can be installed by non-superusers who have CREATE privilege on the current database.

Subsections

Back