Help-Site Computer Manuals
Software
Hardware
Programming
Networking
  Algorithms & Data Structures   Programming Languages   Revision Control
  Protocols
  Cameras   Computers   Displays   Keyboards & Mice   Motherboards   Networking   Printers & Scanners   Storage
  Windows   Linux & Unix   Mac

RDF::Core::Storage::Postgres
PostgreSQL implementation of RDF::Core::Storage

RDF::Core::Storage::Postgres - PostgreSQL implementation of RDF::Core::Storage


NAME

RDF::Core::Storage::Postgres - PostgreSQL implementation of RDF::Core::Storage


SYNOPSIS


  require RDF::Core::Storage::Postgres;

  my $storage = new RDF::Core::Storage::Postgres((

                                                  ConnectStr=>'dbi:Pg:dbname=rdf',

                                                  DBUser=>'username',

                                                  Model=>'1',

                                                 ));

  my $model = new RDF::Core::Model (Storage => $storage);


DESCRIPTION

The storage is based on PostgreSQL database.

Interface

  • new(%options)
  • Available options are:
    • ConnectStr
    • Connect string (see PostgreSQL documentation)

    • DBUser, DBPassword
    • Database username and pasword.

    • Model
    • More then one model can be stored in one database, use Model to distinct between them.

    The rest of the interface is described in RDF::Core::Storage.

INSTALLATION

You need to have PostgreSQL database installed. Then run scripts in dbmodel/pgsql/rdf-pgsql.sql and database will be created and ready for use.


LICENSE

This package is subject to the MPL (or the GPL alternatively).


AUTHOR

Ginger Alliance, rdf@gingerall.cz


SEE ALSO

RDF::Core::Storage, RDF::Core::Model

Programminig
Wy
Wy
yW
Wy
Programming
Wy
Wy
Wy
Wy