Re: dbmirror

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Steven Singer <ssinger(at)navtechinc(dot)com>
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 21:04:19
Message-ID: 200212052104.gB5L4JQ06147@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Thanks. Applied to 7.3 and CVS HEAD. It was me who added those
commands to set the envirnment, and I didn't realize it was the first
use of those variables, hence the need for 'my'.

Thanks. Fix will be in 7.3.1.

---------------------------------------------------------------------------

Steven Singer wrote:
> 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

Content-Description:

[ Attachment, skipping... ]

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Christopher Kings-Lynne 2002-12-05 21:24:08 Quick Help
Previous Message Nicolai Tufar 2002-12-05 21:01:22 Re: Patch to make Turks happy.