D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
postgresql11
/
usr
/
share
/
doc
/
alt-postgresql11-9.2.24
/
html
/
Filename :
gin-examples.html
back
Copy
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <HTML ><HEAD ><TITLE >Examples</TITLE ><META NAME="GENERATOR" CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK REV="MADE" HREF="mailto:pgsql-docs@postgresql.org"><LINK REL="HOME" TITLE="PostgreSQL 9.2.24 Documentation" HREF="index.html"><LINK REL="UP" TITLE="GIN Indexes" HREF="gin.html"><LINK REL="PREVIOUS" TITLE="Limitations" HREF="gin-limit.html"><LINK REL="NEXT" TITLE="Database Physical Storage" HREF="storage.html"><LINK REL="STYLESHEET" TYPE="text/css" HREF="stylesheet.css"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1"><META NAME="creation" CONTENT="2017-11-06T22:43:11"></HEAD ><BODY CLASS="SECT1" ><DIV CLASS="NAVHEADER" ><TABLE SUMMARY="Header navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TH COLSPAN="5" ALIGN="center" VALIGN="bottom" ><A HREF="index.html" >PostgreSQL 9.2.24 Documentation</A ></TH ></TR ><TR ><TD WIDTH="10%" ALIGN="left" VALIGN="top" ><A TITLE="Limitations" HREF="gin-limit.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="10%" ALIGN="left" VALIGN="top" ><A HREF="gin.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="60%" ALIGN="center" VALIGN="bottom" >Chapter 55. GIN Indexes</TD ><TD WIDTH="20%" ALIGN="right" VALIGN="top" ><A TITLE="Database Physical Storage" HREF="storage.html" ACCESSKEY="N" >Next</A ></TD ></TR ></TABLE ><HR ALIGN="LEFT" WIDTH="100%"></DIV ><DIV CLASS="SECT1" ><H1 CLASS="SECT1" ><A NAME="GIN-EXAMPLES" >55.6. Examples</A ></H1 ><P > The <SPAN CLASS="PRODUCTNAME" >PostgreSQL</SPAN > source distribution includes <ACRONYM CLASS="ACRONYM" >GIN</ACRONYM > operator classes for <TT CLASS="TYPE" >tsvector</TT > and for one-dimensional arrays of all internal types. Prefix searching in <TT CLASS="TYPE" >tsvector</TT > is implemented using the <ACRONYM CLASS="ACRONYM" >GIN</ACRONYM > partial match feature. The following <TT CLASS="FILENAME" >contrib</TT > modules also contain <ACRONYM CLASS="ACRONYM" >GIN</ACRONYM > operator classes: <P ></P ></P><DIV CLASS="VARIABLELIST" ><DL ><DT ><TT CLASS="FILENAME" >btree_gin</TT ></DT ><DD ><P >B-tree equivalent functionality for several data types</P ></DD ><DT ><TT CLASS="FILENAME" >hstore</TT ></DT ><DD ><P >Module for storing (key, value) pairs</P ></DD ><DT ><TT CLASS="FILENAME" >intarray</TT ></DT ><DD ><P >Enhanced support for <TT CLASS="TYPE" >int[]</TT ></P ></DD ><DT ><TT CLASS="FILENAME" >pg_trgm</TT ></DT ><DD ><P >Text similarity using trigram matching</P ></DD ></DL ></DIV ><P> </P ></DIV ><DIV CLASS="NAVFOOTER" ><HR ALIGN="LEFT" WIDTH="100%"><TABLE SUMMARY="Footer navigation table" WIDTH="100%" BORDER="0" CELLPADDING="0" CELLSPACING="0" ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" ><A HREF="gin-limit.html" ACCESSKEY="P" >Prev</A ></TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="index.html" ACCESSKEY="H" >Home</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" ><A HREF="storage.html" ACCESSKEY="N" >Next</A ></TD ></TR ><TR ><TD WIDTH="33%" ALIGN="left" VALIGN="top" >Limitations</TD ><TD WIDTH="34%" ALIGN="center" VALIGN="top" ><A HREF="gin.html" ACCESSKEY="U" >Up</A ></TD ><TD WIDTH="33%" ALIGN="right" VALIGN="top" >Database Physical Storage</TD ></TR ></TABLE ></DIV ></BODY ></HTML >