GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
RDF::Core::Storage::Postgres(3) User Contributed Perl Documentation RDF::Core::Storage::Postgres(3)

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

  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);

The storage is based on PostgreSQL database.

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.

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.

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

Ginger Alliance, rdf@gingerall.cz

RDF::Core::Storage, RDF::Core::Model
2006-07-14 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.