Commit Graph

51 Commits (ba0f9ff3bac5205687f172d9e9a846b42ce34d3d)

Author SHA1 Message Date
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
Bruce Momjian ab7fd11846 Reversed out inet patch. 26 years ago
Bruce Momjian 52d39d519a Sorting for the inet data type randomly returns the wrong result 26 years ago
Tom Lane fc8e6c7746 Oops, commited a test version of this file by accident. Revert. 26 years ago
Tom Lane 393f313227 Change parse-time representation of float literals (which include oversize 26 years ago
Bruce Momjian dabc3f31b5 Fix for netmask('x.x.x.x/0') is 255.255.255.255 instead of 0.0.0.0 26 years ago
Bruce Momjian 3406901a29 Move some system includes into c.h, and remove duplicates. 27 years ago
Bruce Momjian a9591ce66a Change #include's to use <> and "" as appropriate. 27 years ago
Bruce Momjian 2e6b1e63a3 Remove unused #includes in *.c files. 27 years ago
Bruce Momjian 4b2c2850bf Clean up #include in /include directory. Add scripts for checking includes. 27 years ago
Bruce Momjian 0cf1b79528 Cleanup of /include #include's, for 6.6 only. 27 years ago
Bruce Momjian e47b93d333 The INET and CIDR types mistakenly compared 198.68.123.0/24 and 27 years ago
Bruce Momjian 07842084fe pgindent run over code. 27 years ago
Thomas G. Lockhart 64e74e30b5 Fix boolean assignment of return values to use "FALSE" rather than the 27 years ago
Bruce Momjian 53d52a685a Cleanup of NULL in inet types. 27 years ago
Bruce Momjian 02fa3e4394 Thank you for the advice. I concluded that current inet code has a 27 years ago
Bruce Momjian d8ae7ffb2f Fix for no platform NAN. 27 years ago
Tom Lane 9e38dcfd43 Re-fix test for negative-integer return code that should be 27 years ago
Bruce Momjian 374d9a1f2b D'Arcy INET fix. 27 years ago
Tom Lane 0bdf46a37f Fix some actual bugs exposed by compiler warnings. 27 years ago