1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-08 06:02:22 +03:00

Add GIN support for pg_trgm. From Guillaume Smet <guillaume.smet@gmail.com>

with minor editorization by me.
This commit is contained in:
Teodor Sigaev
2007-03-14 14:15:40 +00:00
parent 547e41cdf8
commit 15f91f2789
8 changed files with 1256 additions and 5 deletions

View File

@@ -28,6 +28,7 @@ typedef char trgm[3];
*(((char*)(a))+2) = *(((char*)(b))+2); \
} while(0);
#define TRGMINT(a) ( (*(((char*)(a))+2)<<16)+(*(((char*)(a))+1)<<8)+*(((char*)(a))+0) )
typedef struct
{