/[global]/global/doc/global.txi
ViewVC logotype

Diff of /global/doc/global.txi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.15 by h-iwamoto, Tue Sep 7 09:53:41 2004 UTC revision 1.16 by shigio, Sat Nov 6 09:25:16 2004 UTC
# Line 134  GNU GLOBAL has following features: Line 134  GNU GLOBAL has following features:
134  @item support incremental updating of tag files.  @item support incremental updating of tag files.
135  @item support customizing with gtags.conf.  @item support customizing with gtags.conf.
136  @item generate completion list for completing input method.  @item generate completion list for completing input method.
 @item Postgres database system is available as a tag store.  
137  @end itemize  @end itemize
138    
139  @c ***************************************************************************  @c ***************************************************************************
# Line 1965  But in this case, you must not move HTML Line 1964  But in this case, you must not move HTML
1964  * Plugin::                              How to plug in a parser.  * Plugin::                              How to plug in a parser.
1965  * Compact format::                      Compact format.  * Compact format::                      Compact format.
1966  * Incremental updating::                Incremental updating.  * Incremental updating::                Incremental updating.
 * Postgres::                            Using Postgres.  
1967  @end menu  @end menu
1968    
1969  @c ***************************************************************************  @c ***************************************************************************
# Line 2139  Instead, you can use incremental updatin Line 2137  Instead, you can use incremental updatin
2137  @end example  @end example
2138    
2139  @c ***************************************************************************  @c ***************************************************************************
 @node   Postgres  
 @section Using Postgres.  
   
 You can make tag files in postgres database instead of normal files.  
 To do this, you must setup postgres database system, configure GLOBAL  
 with @option{--with-postgres}, build it and make a database so that you can  
 access to it. You need a database for a project.  
 At the first time of creating tag files, you need specify info string with  
 @option{--info}. The info string is passed to PQconnectdb(3) as is.  
 @opindex -P  
 @example  
   
     # setup postgres database system  
     % set DBNAME=gtagsdb  
     % createdb $DBNAME  
     % gtags -P --info="dbname=$DBNAME user=`whoami`"  
   
 @end example  
   
 Once tag files are created, you need not use @option{--info}.  
 If info string is not specified then gtags load it from tag files.  
   
 Please be careful of the value of info string.  
 It is passed to Postgres system as is.  
 If you mistake the value then program may abort with core dump.  
   
 @c ***************************************************************************  
2140  @c Reference manual.  @c Reference manual.
2141  @c ***************************************************************************  @c ***************************************************************************
2142  @node Reference  @node Reference

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26