SiSU -->
Full Text  scroll  TOC linked  toc  PDF portrait   pdf  PDF landscape   pdf  ODF/ODT  odt    A-Z  Document Manifest  @
 

SiSU

Search

Ralph Amissah

copy @ SiSU

Rights: Copyright ©  Ralph Amissah 2007, part of SiSU documentation, License GPL 3


SiSU - Search,
Ralph Amissah

SiSU Search

SiSU Postgresql

1. Postgresql

1.1 Name
1.2 Description
1.3 Synopsis
1.4 Commands
1.4.1 create and destroy database
1.4.2 import and remove documents
Document Information (metadata)

SiSU - Search,
Ralph Amissah

  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
initial step, creates required relations (tables, indexes) in existing (postgresql) database (a database should be created manually and given the same name as working directory, as requested) (rb.dbi)

  16

sisu -D --createdb
creates database where no database existed before

  17

sisu -D --create
creates database tables where no database tables existed before

  18

sisu -D --Dropall
destroys database (including all its content)! kills data and drops tables, indexes and database associated with a given directory (and directories of the same name).

  19

sisu -D --recreate
destroys existing database and builds a new empty database structure

  20

1.4.2 import and remove documents

  21

sisu -D --import -v [filename/wildcard]
populates database with the contents of the file. Imports documents(s) specified to a postgresql database (at an object level).

  22

sisu -D --update -v [filename/wildcard]
updates file contents in database

  23

sisu -D --remove -v [filename/wildcard]
removes specified document from postgresql database.

  24


 

Document Information (metadata)

  0

Metadata

   

<http://www.jus.uio.no/sisu/sisu_manual/sisu_postgresql/sisu_manifest.html>

Dublin Core (DC)

DC tags included with this document are provided here.

DC Title: SiSU - Search

DC Creator: Ralph Amissah

DC Rights: Copyright (C) Ralph Amissah 2007, part of SiSU documentation, License GPL 3

DC Type: information

DC Date created: 2002-08-28

DC Date issued: 2002-08-28

DC Date available: 2002-08-28

DC Date modified: 2007-09-16

DC Date: 2007-09-16

Version Information

Sourcefile: sisu_postgresql.sst

Filetype: SiSU text 0.58

Sourcefile Digest, MD5(sisu_postgresql.sst)= 5f9ca1acb186a64f8e924876892dc25e

Skin_Digest: MD5(/home/ralph/grotto/theatre/dbld/builds/sisu/sisu/data/doc/sisu/sisu_markup_samples/sisu_manual/_sisu/skin/doc/skin_sisu_manual.rb)= 20fc43cf3eb6590bc3399a1aef65c5a9

Generated

Document (metaverse) last generated: Tue Sep 25 02:54:21 +0100 2007

Generated by: SiSU 0.59.1 of 2007w39/2 (2007-09-25)

Ruby version: ruby 1.8.6 (2007-06-07 patchlevel 36) [i486-linux]

SiSU -->
Full Text  scroll  TOC linked  toc  PDF portrait   pdf  PDF landscape   pdf  ODF/ODT  odt    A-Z  Document Manifest  @
 

SiSU

Output generated by SiSU 0.59.1 2007-09-25 (2007w39/2)
SiSU Copyright © Ralph Amissah 1997, current 2007. All Rights Reserved.
SiSU is software for document structuring, publishing and search,
www.jus.uio.no/sisu and www.sisudoc.org
w3 since October 3 1993 ralph@amissah.com

SiSU using:
Standard SiSU markup syntax,
Standard SiSU meta-markup syntax, and the
Standard SiSU object citation numbering and system, (object/text positioning system)
Copyright © Ralph Amissah 1997, current 2007. All Rights Reserved.

GPLv3

SiSU is released under GPLv3 or later, <http://www.gnu.org/licenses/gpl.html>

SiSU, developed using Ruby on Debian/Gnu/Linux software infrastructure, with the usual GPL (or OSS) suspects.
Better - "performance, reliability, scalability, security & total cost of ownership" [not to mention flexibility & choice] use of and adherence to open standards (where practical and fair) and it is software libre.
Get With the Future Way Better!



idx txt


SiSU manual


SiSU