Commit Graph

97 Commits (232720be9b6412ec2b6bee405299bcbbbe700f0b)

Author SHA1 Message Date
Peter Geoghegan 71dcd74386 Add sort support routine for the inet data type. 6 years ago
Tom Lane 8255c7a5ee Phase 2 pgindent run for v12. 7 years ago
Alvaro Herrera af38498d4c Move hash_any prototype from access/hash.h to utils/hashutils.h 7 years ago
Tom Lane 74dfe58a59 Allow extensions to generate lossy index conditions. 7 years ago
Tom Lane 9b53d96684 Suppress -Wshift-negative-value warnings. 8 years ago
Tom Lane 58d9acc18d Fix assorted issues in convert_to_scalar(). 8 years ago
Tom Lane 7d08ce286c Distinguish selectivity of < from <= and > from >=. 8 years ago
Robert Haas 81c5e46c49 Introduce 64-bit hash functions with a 64-bit seed. 8 years ago
Simon Riggs 232c532213 Minor spelling correction in comment 9 years ago
Stephen Frost c7a9fa399d Add support for EUI-64 MAC addresses as macaddr8 9 years ago
Heikki Linnakangas ec136d19b2 Move code shared between libpq and backend from backend/libpq/ to common/. 9 years ago
Tom Lane 7b405b3e04 Refactor some network.c code to create cidr_set_masklen_internal(). 9 years ago
Alvaro Herrera 3b6db1f445 Add geometry/range functions to support BRIN inclusion 11 years ago
Tom Lane 6c40f8316e Add min and max aggregates for inet/cidr data types. 11 years ago
Bruce Momjian 0a78320057 pgindent run for 9.4 12 years ago
Tom Lane f23a5630eb Add an in-core GiST index opclass for inet/cidr types. 12 years ago
Tom Lane 5858cf8ab2 Fix header comment for bitncmp(). 12 years ago
Heikki Linnakangas 8409b60476 Revert the behavior of inet/cidr functions to not unpack the arguments. 14 years ago
Heikki Linnakangas 3b8161723c Make DatumGetInetP() unpack inet datums with a 1-byte header, and add 14 years ago
Peter Eisentraut f4a9da0a15 Use clearer notation for getnameinfo() return handling 15 years ago
Bruce Momjian bf50caf105 pgindent run before PG 9.1 beta 1. 15 years ago
Magnus Hagander 9f2e211386 Remove cvs keywords from all files. 15 years ago
Heikki Linnakangas eab94d8182 Fix off-by-one bug in bitncmp(): When comparing a number of bits divisible by 16 years ago
Bruce Momjian d747140279 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 17 years ago
Tom Lane 220db7ccd8 Simplify and standardize conversions between TEXT datums and ordinary C 18 years ago
Bruce Momjian fdf5a5efb7 pgindent run for 8.3. 18 years ago
Tom Lane 31edbadf4a Downgrade implicit casts to text to be assignment-only, except for the ones 19 years ago
Tom Lane dbb769352d Temporary fix for the problem that pg_stat_activity, inet_client_addr(), 19 years ago
Tom Lane 3e23b68dac Support varlena fields with single-byte headers and unaligned storage. 19 years ago
Tom Lane 234a02b2a8 Replace direct assignments to VARATT_SIZEP(x) with SET_VARSIZE(x, len). 19 years ago
Bruce Momjian f2a19cf3a5 Adjust network errmsg("result is out of range") message to be consistent 19 years ago
Bruce Momjian f99a569a2e pgindent run for 8.2. 19 years ago
Tom Lane fbb1daed93 Fix incorrect addition, subtraction, and overflow checking in new 20 years ago
Bruce Momjian 1372515271 Add INET/CIDR operators: and, or, not, plus int8, minus int8, and inet 20 years ago
Bruce Momjian ad177f10ee Source code cleanup. 20 years ago
Tom Lane 75c4747156 Suppress signed-vs-unsigned-char warning. 20 years ago
Tom Lane 8d8bf12760 Clean up the INET-vs-CIDR situation. Get rid of the internal is_cidr flag 20 years ago
Bruce Momjian f6f43e7ee3 Prototype fix for typo. 20 years ago
Bruce Momjian 19b1c76f0d Use is_cidr in INET/CIDR structure, rather than the generic 'type'. 20 years ago
Neil Conway fb627b76cc Cosmetic code cleanup: fix a bunch of places that used "return (expr);" 20 years ago
Bruce Momjian 261114a23f I have added these macros to c.h: 20 years ago
Tom Lane d330f1554d Clean up libpq's pollution of application namespace by renaming the 20 years ago
Bruce Momjian 1dc3498251 Standard pgindent run for 8.1. 20 years ago
Bruce Momjian f4f6caa9b0 Do proper testing of CIDR bits against network mask, e.g. don't allow: 22 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 22 years ago
Tom Lane 950d047ec5 Give inet/cidr datatypes their own hash function that ignores the inet vs 22 years ago
Tom Lane ba0f9ff3ba Code review for recently-added network functions. Get it to work when 22 years ago
Bruce Momjian 97d625dd1c *) inet_(client|server)_(addr|port)() and necessary documentation for 22 years ago
Tom Lane c5336a892f netmask() and hostmask() functions should return maximum-length masklen, 22 years ago
PostgreSQL Daemon 969685ad44 $Header: -> $PostgreSQL Changes ... 22 years ago