[tracker] docs: Document the TRACKER_PRAGMAS_FILE environment variable



commit 7b1c9c18e5ade05a55a2fa21d04df7d50de0ef32
Author: Philip Van Hoof <philip codeminded be>
Date:   Mon Nov 29 11:45:24 2010 +0100

    docs: Document the TRACKER_PRAGMAS_FILE environment variable

 docs/manpages/tracker-store.1                  |    7 +++++++
 docs/reference/libtracker-sparql/overview.sgml |   10 ++++++++++
 2 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/docs/manpages/tracker-store.1 b/docs/manpages/tracker-store.1
index b59d9b0..ac856cf 100644
--- a/docs/manpages/tracker-store.1
+++ b/docs/manpages/tracker-store.1
@@ -99,6 +99,13 @@ has given a yeild of up to 50% performance improvement. The main
 reason for wanting to disable this is if there is an adverse effect.
 This has been seen by using Valgrind with tracker-store for example.
 
+.TP
+.B TRACKER_PRAGMAS_FILE
+Tracker has a fixed set of PRAGMA settings for creating its SQLite connection.
+With this environment variable pointing to a text file you can override these
+settings. The file is a \n separated list of SQLite queries to execute on any
+newly created SQLite connection in tracker-store.
+
 .SH FILES
 .I $HOME/.config/tracker/tracker-store.cfg
 .I $HOME/.config/tracker/tracker-fts.cfg
diff --git a/docs/reference/libtracker-sparql/overview.sgml b/docs/reference/libtracker-sparql/overview.sgml
index 8e0b021..f32c66d 100644
--- a/docs/reference/libtracker-sparql/overview.sgml
+++ b/docs/reference/libtracker-sparql/overview.sgml
@@ -184,6 +184,16 @@ $ pkg-config --libs tracker-sparql-0.9
 	    is <emphasis>0</emphasis>.
 	  </para>
 	</listitem>
+	<listitem>
+	  <emphasis>TRACKER_PRAGMAS_FILE</emphasis>
+	  <para>
+	    Tracker has a fixed set of PRAGMA settings for creating its
+	    SQLite connection. With this environment variable pointing to
+	    a text file you can override these settings. The file is a
+	    \n separated list of SQLite queries to execute on any newly
+	    created SQLite connection in tracker-store.
+	  </para>
+	</listitem>
       </itemizedlist>
     </para>
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]