The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Metabase::Backend::PostgreSQL - Metabase backend implemented using PostgreSQL

VERSION

version 1.000

SYNOPSIS

  use Metabase::Archive::PostgreSQL;
  use Metabase::Index::PostgreSQL;

  my $archive = Metabase::Archive::PostgreSQL->new(
    db_name => "cpantesters",
    db_user => "johndoe",
    db_pass => "PaSsWoRd",
  );

  my $index = Metabase::Index::PostgreSQL->new(
    db_name => "cpantesters",
    db_user => "johndoe",
    db_pass => "PaSsWoRd",
  );

DESCRIPTION

This distribution provides a backend for Metabase using PostgreSQL. There are two modules included, Metabase::Index::PostgreSQL and Metabase::Archive::PostgreSQL. They can be used separately or together (see Metabase::Librarian for details).

The Metabase::Backend::PostgreSQL module is a Moose::Role that provides common attributes and private helpers and is not intended to be used directly.

Common attributes are described further below.

ATTRIBUTES

db_name

Database name

db_user

Database username

db_pass

Database password

AUTHORS

  • David Golden <dagolden@cpan.org>

  • Leon Brocard <acme@astray.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2011 by David Golden.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004