Commit Graph

70 Commits (dbb769352d89323670d28585cf2af52dd520d378)

Author SHA1 Message Date
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: 21 years ago
Bruce Momjian b6b71b85bc Pgindent run for 8.0. 21 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
Peter Eisentraut 7438af96fa More message editing, some suggested by Alvaro Herrera 22 years ago
Peter Eisentraut feb4f44d29 Message editing: remove gratuitous variations in message wording, standardize 22 years ago
Bruce Momjian 089003fb46 pgindent run. 22 years ago
Tom Lane e490ee80e6 inet_recv() wasn't IPv6-ready. 22 years ago
Tom Lane b6a1d25b0a Error message editing in utils/adt. Again thanks to Joe Conway for doing 22 years ago
Bruce Momjian 945543d919 Add ipv6 address parsing support to 'inet' and 'cidr' data types. 23 years ago
Tom Lane 0249c24235 More binary I/O routines. 23 years ago
Tom Lane e43094b124 Fix compile warning. 23 years ago
Bruce Momjian e02f818311 Add hostmask() function: 23 years ago
Bruce Momjian 9b12ab6d5d Add new palloc0 call as merge of palloc and MemSet(0). 23 years ago
Bruce Momjian 75fee4535d Back out use of palloc0 in place if palloc/MemSet. Seems constant len 23 years ago
Bruce Momjian 8fee9615cc Merge palloc()/MemSet(0) calls into a single palloc0() call. 23 years ago
Bruce Momjian 97ac103289 Remove sys/types.h in files that include postgres.h, and hence c.h, 23 years ago
Bruce Momjian b81844b173 pgindent run on all C files. Java run to follow. initdb/regression 24 years ago
Tom Lane 545c6696a6 Fix confusion over static-ness of a subroutine. 24 years ago
Tom Lane 1f1ca182be Make inet/cidr << and <<= operators indexable. From Alex Pilosov <alex@pilosoft.com>. 25 years ago
Bruce Momjian d4a4d4c326 Attached is a patch adding following functions: 25 years ago
Tom Lane 202548d6cc Teach convert_to_scalar about datatypes timetz, inet, cidr, macaddr. 25 years ago
Bruce Momjian 9e1552607a pgindent run. Make it all clean. 25 years ago
Tom Lane 61784c54b5 Change default output formatting for CIDR to be unabbreviated, per 25 years ago
Tom Lane 5dfcbdde70 Fix some portability bugs I'd introduced into inet/cidr code --- 25 years ago
Tom Lane a210023008 Adjust INET/CIDR display conventions and reimplement some INET/CIDR 25 years ago
Tom Lane 063c0f6bea Disallow bits beyond the mask length for CIDR values, per discussion 25 years ago
Tom Lane ed9ca68758 Convert inet-related functions to new fmgr style. I have also taken it 25 years ago
Tom Lane 8ecac94bb2 Functions on 'text' type updated to new fmgr style. 'text' is 26 years ago
Jan Wieck 57d8080a40 TOAST 26 years ago
Bruce Momjian 52f77df613 Ye-old pgindent run. Same 4-space tabs. 26 years ago