Bruce Momjian
6416a82a62
Remove unnecessary #include references, per pgrminclude script.
14 years ago
Bruce Momjian
bf50caf105
pgindent run before PG 9.1 beta 1.
14 years ago
Tom Lane
8436489c81
Add KNNGIST support to contrib/btree_gist.
...
This extends GiST's support for nearest-neighbor searches to many of the
standard data types.
Teodor Sigaev
15 years ago
Magnus Hagander
9f2e211386
Remove cvs keywords from all files.
15 years ago
Bruce Momjian
d747140279
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
...
provided by Andrew.
16 years ago
Alvaro Herrera
a3540b0f65
Improve our #include situation by moving pointer types away from the
...
corresponding struct definitions. This allows other headers to avoid including
certain highly-loaded headers such as rel.h and relscan.h, instead using just
relcache.h, heapam.h or genam.h, which are more lightweight and thus cause less
unnecessary dependencies.
17 years ago
Andrew Dunstan
53972b460c
Add $PostgreSQL$ markers to a lot of files that were missing them.
...
This particular batch was just for *.c and *.h file.
The changes were made with the following 2 commands:
find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | while read file ; do head -n 1 < $file | grep -q '^/\*' && echo $file; done | xargs -l sed -i -e '1s/^\// /' -e '1i/*\n * $PostgreSQL:$ \n *'
find . \( \( -name 'libstemmer' -o -name 'expected' -o -name 'ppport.h' \) -prune \) -o \( -name '*.[ch]' \) \( -exec grep -q '\$PostgreSQL' {} \; -o -print \) | xargs -l sed -i -e '1i/*\n * $PostgreSQL:$ \n */'
17 years ago
Tom Lane
ae643747b1
Fix a passel of recently-committed violations of the rule 'thou shalt
...
have no other gods before c.h'. Also remove some demonstrably redundant
#include lines, mostly of <errno.h> which was added to c.h years ago.
19 years ago
Bruce Momjian
03c2e5924e
Add additional includes needed on some platforms.
19 years ago
Bruce Momjian
66c15dfda1
Adjust /contrib for new include file contents.
19 years ago
Bruce Momjian
f0cd764723
Add #include code to prevent multiple inclusion.
19 years ago
Bruce Momjian
b538215d5d
Remove a few baby-C macros in fuzzystrmatch. Add a few missing includes.
19 years ago
Bruce Momjian
1dc3498251
Standard pgindent run for 8.1.
20 years ago
Tom Lane
3976899f29
Fix storage size for btree_gist interval indexes. Fix penalty
...
calculations for interval and time/timetz to behave sanely for both
integer and float timestamps; up to now I think it's been doing
something pretty strange...
20 years ago
Teodor Sigaev
ef770cbb69
Fixes from Janko Richter <jankorichter@yahoo.de>
...
- Fix wrong index results on text, char, varchar for multibyte strings
- Fix some SIGFPE signals
- Add support for infinite timestamps
- Because of locale settings, btree_gist can not be a prefix index anymore (for text).
Each node holds now just the lower and upper boundary.
20 years ago
Bruce Momjian
b6b71b85bc
Pgindent run for 8.0.
21 years ago
Teodor Sigaev
7b81988f9b
- Add aligment of variable data types
...
- Add aligment for interval data types
- Avoid floating point overflow in penalty functions
Janko Richter <jankorichter@yahoo.de> and teodor
21 years ago
Teodor Sigaev
42d069886f
New version. Add support for int2, int8, float4, float8, timestamp with/without time zone, time with/without time zone, date, interval, oid, money and macaddr, char, varchar/text, bytea, numeric, bit, varbit, inet/cidr types for GiST
21 years ago