git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 5997386) | patch
Clean up the INET-vs-CIDR situation. Get rid of the internal is_cidr flag
2006年1月26日 02:35:51 +0000 (02:35 +0000)
2006年1月26日 02:35:51 +0000 (02:35 +0000)
commit 8d8bf127605d0a87b22bb07e630a075506ca5e1e
Clean up the INET-vs-CIDR situation. Get rid of the internal is_cidr flag
and rely exclusively on the SQL type system to tell the difference between
the types. Prevent creation of invalid CIDR values via casting from INET
or set_masklen() --- both of these operations now silently zero any bits
to the right of the netmask. Remove duplicate CIDR comparison operators,
letting the type rely on the INET operators instead.
12 files changed:
doc/src/sgml/func.sgml diff | blob | blame | history
src/backend/optimizer/path/indxpath.c diff | blob | blame | history
src/backend/utils/adt/network.c diff | blob | blame | history
src/include/catalog/catversion.h diff | blob | blame | history
src/include/catalog/pg_amop.h diff | blob | blame | history
src/include/catalog/pg_cast.h diff | blob | blame | history
src/include/catalog/pg_operator.h diff | blob | blame | history
src/include/catalog/pg_proc.h diff | blob | blame | history
src/include/utils/builtins.h diff | blob | blame | history
src/include/utils/inet.h diff | blob | blame | history
src/test/regress/expected/opr_sanity.out diff | blob | blame | history
src/test/regress/sql/opr_sanity.sql diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /