Обсуждение: TCL error with rserv on Solaris

Поиск
Список
Период
Сортировка

TCL error with rserv on Solaris

От
pgsql-bugs@postgresql.org
Дата:
Justin Clift (justin@postgresql.org) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
TCL error with rserv on Solaris

Long Description
Hi guys,

I'm trying out the replication module in contrib/ and after installing it as per the instructions in README.rserv, I
getan error in the TCL testing script. 

When running the script on configured local master and slave servers, pressing the "Replicate" button in the TCL
interfacegenerates the following error : 

Error: invalid command name "ConnInfoCmd"

And the replication does not occur.  (I had inserted data into the master db and checked in the slave db after the
erroroccurred). 

The TCL "stack trace" (it gave me the option to generate it) was :

invalid command name "ConnInfoCmd"
    while executing
"ConnInfoCmd master"
    (procedure "Replicate" line 5)
    invoked from within
"Replicate"
    invoked from within
".r.run invoke"
    ("uplevel" body line 1)
    invoked from within
"uplevel #0 [list $w invoke]"
    (procedure "tkButtonUp" line 7)
    invoked from within
"tkButtonUp .r.run
"

    (command bound to event)

This was done on PostgreSQL 7.1 Release, Solaris 8 INTEL, TCL 8.3.2, Perl 5.6.0.  Compiled with gcc 2.95.3

Sample Code


No file was uploaded with this report

Re: TCL error with rserv on Solaris

От
Thomas Lockhart
Дата:
> When running the script on configured local master and slave servers,
> pressing the "Replicate" button in the TCL interface generates the
> following error :
> Error: invalid command name "ConnInfoCmd"

Hmm. It is an inconsistant call in a debugging statement. Either remove
the statement altogether (just search for the offending string above,
and blow away the two lines which contain it) or change it to "ConnInfo"
rather than "ConnInfoCmd". If you are building from source, then change
RservTest.in and remake, and if you are running from a binary distro
modify the built RservTest program directly.

                       - Thomas