Re: dbmirror

From: Steven Singer <ssinger(at)navtechinc(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp>, <pgsql-hackers(at)postgresql(dot)org>, <psql-patches(at)postgresql(dot)org>
Subject: Re: dbmirror
Date: 2002-12-05 20:54:10
Message-ID: Pine.LNX.4.33.0212052051250.15313-200000@pcNavYkfAdm1.ykf.navtechinc.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, 5 Dec 2002, Bruce Momjian wrote:

It looks like the problem was introduced when the "SET autocommit"
and "SET search_path" commands were added to the beginning of the script.

The attatched patch should fix the problem. It probably should be applied
against the 7.3 and 7.4 branches.

>
> Yes, I get the same failure. with perl 5.005_03. Steven, can you
> comment on this?
>
> ---------------------------------------------------------------------------
>
> Tatsuo Ishii wrote:
> > Hi, I have been playing around with contrib/dbmirror with RC2 and
> > faced with following errors:
> >
> > perl DBMirror.pl slaveDatabase.conf
> > Global symbol "$setResult" requires explicit package name at DBMirror.pl line 131.
> > Global symbol "$setResult" requires explicit package name at DBMirror.pl line 132.
> > Global symbol "$setResult2" requires explicit package name at DBMirror.pl line 140.
> > Global symbol "$setResult2" requires explicit package name at DBMirror.pl line 141.
> > Execution of DBMirror.pl aborted due to compilation errors.
> >
> > This Linux and perl 5.6.1.
> > --
> > Tatsuo Ishii
> >
> > ---------------------------(end of broadcast)---------------------------
> > TIP 4: Don't 'kill -9' the postmaster
> >
>
>

--
Steven Singer ssinger(at)navtechinc(dot)com
Aircraft Performance Systems Phone: 519-747-1170 ext 282
Navtech Systems Support Inc. AFTN: CYYZXNSX SITA: YYZNSCR
Waterloo, Ontario ARINC: YKFNSCR

Attachment Content-Type Size
dbmirror.patch text/plain 1.7 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Nicolai Tufar 2002-12-05 21:01:22 Re: Patch to make Turks happy.
Previous Message Dan Langille 2002-12-05 20:40:15 Re: 7.4 - TODO : alter table drop foreign key