Bruce Momjian
d747140279
8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list
...
provided by Andrew.
2009-06-11 14:49:15 +00:00
Teodor Sigaev
b87b52bf04
Support of multibyte encoding for pg_trgm
2008-11-12 13:43:54 +00:00
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 */'
2008-05-17 01:28:26 +00:00
Bruce Momjian
224f91f66d
Modify LOOPBYTE/LOOPBIT macros to be more logical; rather than have the
...
for() body passed as a parameter, make the macros act as simple headers
to code blocks.
This allows pgindent to be run on these files.
2007-11-16 00:13:02 +00:00
Teodor Sigaev
15f91f2789
Add GIN support for pg_trgm. From Guillaume Smet <guillaume.smet@gmail.com>
...
with minor editorization by me.
2007-03-14 14:15:40 +00:00
Tom Lane
9f652d430f
Fix up several contrib modules that were using varlena datatypes in not-so-obvious
...
ways. I'm not totally sure that I caught everything, but at least now they pass
their regression tests with VARSIZE/SET_VARSIZE defined to reverse byte order.
2007-02-28 22:44:38 +00:00
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.
2006-07-14 05:28:29 +00:00
Bruce Momjian
ac230e7431
Alphabetically order reference to include files, "S"-"Z".
2006-07-11 18:26:11 +00:00
Tom Lane
33feb55c47
Replace bitwise looping with bytewise looping in hemdistsign and
...
sizebitvec of tsearch2, as well as identical code in several other
contrib modules. This provided about a 20X speedup in building a
large tsearch2 index ... didn't try to measure its effects for other
operations. Thanks to Stephan Vollmer for providing a test case.
2006-01-20 22:46:16 +00:00
Bruce Momjian
b6b71b85bc
Pgindent run for 8.0.
2004-08-29 05:07:03 +00:00
Teodor Sigaev
cbfa4092bb
trgm - Trigram matching for PostgreSQL
...
--------------------------------------
The pg_trgm contrib module provides functions and index classes
for determining the similarity of text based on trigram
matching.
2004-05-31 17:18:12 +00:00