SiSU - SiSU information Structuring Universe - Search [0.58]
	 
	
		Ralph Amissah
	 
	
		Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3
	 
	
		information
	 
	
		ebook, epublishing, electronic book, electronic publishing, electronic document, electronic citation, data structure, citation systems, search
	 
	
		2007-09-16
	 
	
	
		SiSU - SiSU information Structuring Universe - Search [0.58], 
	1 
 
	
		SiSU Search
	 
	2 
 
	
		SiSU Postgresql
	 
	3 
 
	
		1. Postgresql 
	 
	4 
 
	
		1.1 Name
	 
	5 
 
	
		SiSU  - Structured information, Serialized Units - a document
publishing system, postgresql dependency package
	 
	6 
 
	
		1.2 Description
	 
	7 
 
	
		Information related to using postgresql with sisu (and related to the
sisu_postgresql dependency package, which is a dummy package to install
dependencies needed for SiSU  to populate a postgresql database,
this being part of SiSU  - man sisu).
	 
	8 
 
	
		1.3 Synopsis
	 
	9 
 
	
		 sisu -D [instruction] [filename/wildcard if required]
	 
	10 
 
	
		 sisu -D --pg --[instruction] [filename/wildcard if required]
	 
	11 
 
	
		1.4 Commands
	 
	12 
 
	
		Mappings to two databases are provided by default, postgresql and
sqlite, the same commands are used within sisu to construct and
populate databases however -d (lowercase) denotes sqlite and -D
(uppercase) denotes postgresql, alternatively --sqlite or --pgsql may
be used
	 
	13 
 
	
		-D or --pgsql  may be used interchangeably.
	 
	14 
 
	
		1.4.1 create and destroy database
	 
	15 
 
	
		--pgsql --createall  
	16 
 
	
		sisu -D --createdb  
	17 
 
	
		sisu -D --create  
	18 
 
	
		sisu -D --Dropall  
	19 
 
	
		sisu -D --recreate  
	20 
 
	
		1.4.2 import and remove documents
	 
	21 
 
	
		sisu -D --import -v [filename/wildcard]  
	22 
 
	
		sisu -D --update -v [filename/wildcard]  
	23 
 
	
		sisu -D --remove -v [filename/wildcard]  
	24