↑↓ select↵ open⌫ change scopeOpen full search

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

Wiki / Functions

inet_merge

Computes the smallest network that includes both of the given networks.

English manual coverage begins with PostgreSQL 7.1. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

group
net
group label
Network Address Functions And Operators
lang
en
layout
table-new
pages
functions-net.html
prose only
false

Definition PG 18

Computes the smallest network that includes both of the given networks.

Signatures and overloads

inet_merge ( inet, inet ) → cidr → cidr
Computes the smallest network that includes both of the given networks.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:e92199e81d3da274b750bed04710b3b942989ab1992d0e95de0c20990717b08b

Text language: en · wiki-repair-20261023:e92199e81d3da274b750bed04710b3b942989ab1992d0e95de0c20990717b08b