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

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: f2e016f) | patch
Refactor some network.c code to create cidr_set_masklen_internal().
2016年8月23日 13:39:54 +0000 (09:39 -0400)
2016年8月23日 13:39:54 +0000 (09:39 -0400)
commit 7b405b3e04779fc0a026c9c6ac3e06194948b253
Refactor some network.c code to create cidr_set_masklen_internal().

Merge several copies of "copy an inet value and adjust the mask length"
code to create a single, conveniently C-callable function. This function
is exported for future use by inet SPGiST support, but it's good cleanup
anyway since we had three slightly-different-for-no-good-reason copies.

(Extracted from a larger patch, to separate new code from refactoring
of old code)

Emre Hasegeli
src/backend/utils/adt/network.c diff | blob | blame | history
src/include/utils/inet.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

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