Adjust INET/CIDR display conventions and reimplement some INET/CIDR
Tom Lane <tgl@sss.pgh.pa.us>
Adjust INET/CIDR display conventions and reimplement some INET/CIDR functions, per recent discussions on pghackers. For now, I have called the verbose-display formatting function text(), but will reconsider if enough people object. initdb forced.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/datatype.sgml | modified | +55 −33 |
| doc/src/sgml/func.sgml | modified | +55 −19 |
| doc/src/sgml/oper.sgml | modified | +15 −74 |
| src/backend/utils/adt/inet_net_ntop.c | modified | +20 −36 |
| src/backend/utils/adt/network.c | modified | +87 −55 |
| src/include/catalog/catversion.h | modified | +2 −2 |
| src/include/catalog/pg_proc.h | modified | +10 −8 |
| src/include/utils/builtins.h | modified | +2 −1 |
| src/test/regress/expected/inet.out | modified | +26 −26 |
| src/test/regress/sql/inet.sql | modified | +1 −1 |