Re: postgresql and replication

From: "Marc G(dot) Fournier" <scrappy(at)hub(dot)org>
To: Somasekhar Bangalore <sbangalore(at)zensutra(dot)com>
Cc: Andrew Sullivan <andrew(at)libertyrms(dot)info>, pgsql-admin(at)postgresql(dot)org
Subject: Re: postgresql and replication
Date: 2003-09-02 20:21:05
Message-ID: 20030902171917.Q803@ganymede.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Tue, 2 Sep 2003, Somasekhar Bangalore wrote:

> Hi,
>
> My installation went through fine but while setting up the ers_setup
>
> ers_setup --masterserver=servername --masterdb=accounts \
> --masteruser=someuser --masterpass=apasswd \
> --slaveserver=otherserver --slavedb=erp \
> --slaveuser=anotheruser --slavepass=foo
>
> I am getting below error
>
> Can't locate object method "connect" via package "DBI" (perhaps you
> forgot to load "DBI"?) at ./ers_setup line 73.
>
> I would be very thankful if any one can give the solution.

do you have DBI installed? and DBD::Pg? Taking a look at the code, 'use
DBI' is right at the top, so there should be no reason to get that error
...

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Tina Rogerson 2003-09-02 21:23:52 PostgreSQL Training
Previous Message Manuel Haroldo 2003-09-02 19:24:48 Question