↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Operators

||(anycompatiblearray,anycompatible)

append element onto end of array

Reading PG 18·Select a recorded version

Left operand
anycompatiblearray
Right operand
anycompatible
Result type
anycompatiblearray
Implementing function
array_append(anycompatiblearray,anycompatible)
Operator kind
Binary
Hash join candidate
no
Merge join candidate
no
aliases
||, ||(anycompatiblearray,anycompatible)
manual semantics
Exact operand/result signature matched
memberships
Unknown
signature
||(anycompatiblearray,anycompatible) → anycompatiblearray
source oid
349

Definition PG 18

append element onto end of array

Compare versions

Complete source facts

operator

{"commutator":"","function":"array_append(anycompatiblearray,anycompatible)","hash_join":"f","kind":"b","left_type":"anycompatiblearray","merge_join":"f","negator":"","result_type":"anycompatiblearray","right_type":"anycompatible","symbol":"||"}

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f

Text language: en · 555610c24d53e4316da5b7d3fc25c279d96856d5e0e23ee308c328c5fa881d9f