Slony setup help needed

From: "Uwe C(dot) Schroeder" <uwe(at)oss4u(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Slony setup help needed
Date: 2004-08-11 07:31:24
Message-ID: 200408110031.25039.uwe@oss4u.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

has anyone encountered an error when running a slony_setup.pl generated script
to set up a master?
The problem I hit is that the xxid.v73.sql file aborts with the following
error:

Aug 10 20:57:57 ibserver postgres[9749]: [12] ERROR: parser: parse error at
or near "." at character 909
Aug 10 20:57:57 ibserver postgres[9749]: [13] LOG: query: select 1;
Aug 10 20:57:57 ibserver postgres[9749]: [14] ERROR: current transaction is
aborted, queries ignored until end of transaction block
Aug 10 20:57:57 ibserver postgres[9749]: [15] LOG: query: rollback
transaction;
Aug 10 20:57:57 ibserver postgres[9749]: [16] LOG: pq_recvbuf: unexpected EOF
on client connection

I traced the error to the two "CREATE CAST" statements for xxid in the script.
According to the pg-docs the types in create cast may not be namespace
specified, the script however adds the namespace.
Since I couldn't find a bugreport, any reference on google or anything else
about this I have to assume it's something local to my setup. If the
namespace specification wasn't possible at all, someone else would have run
into this problem already.

I'm using slony1-1.0.1 on a plain vanilla mandrake 9.1 with postgres 7.3.2
(from the rpm)

Any pointers would be greatly appreciated.

Uwe

- --
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417

- ---------------------------(end of broadcast)---------------------------
TIP 9: the planner will ignore your desire to choose an index scan if your
joining column's datatypes do not match

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFBGctNjqGXBvRToM4RAkpuAKCRMR6DULDdj9uyFEzig5W/jw8gowCdFxPi
g0IEiLhqmNhis6aG0Jw5hh4=
=hAMR
-----END PGP SIGNATURE-----

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Marcel Boscher 2004-08-11 07:54:55 type cast for ERROR: function chr(double precision) does not exist???
Previous Message Richard Hurst 2004-08-11 07:18:28 Returning a varchar from a functions