473,569 Members | 2,406 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

A far cry - but here's hoping - PostgreSQL Replicator

Psychopsam
10 New Member
Now I realise this might be out of scope for this forum, but maybe someone knows the answer.

I've just started setting up a test PostgreSQL Replicator set of db's and when I run this command...

select pgr_replica_tab le ('customers');

I get the following error - and yes pgrd (the daemon is running)

ERROR: function pgr_replica_tab le("unknown") does not exist
HINT: No function matches the given name and argument types. You may need to add explicit type casts.

It's like postgresql replicator isn't even there, if though it says it's running...

Anyone know why I might be getting this error?
Jul 30 '07 #1
6 2323
Psychopsam
10 New Member
Well I solved that problem by using this command to load pltcl.so.

yum -y install postgresql postgresql-server postgresql-devel postgresql-tcl postgresql-pl

Now I have a new problem. It get these errors when I try to createdbr...

I'm seeing similar errors on forums around the 'net without responses and I'm starting to think people may have abandoned PostreSQL Replicator in favour of a better product perhaps?

Andy H.

psql:/home/replicator/pgreplica/bin/Rlayout/create_RST.sql: 23: ERROR: type "datetime" does not exist
psql:/home/replicator/pgreplica/bin/Rlayout/create_RST.sql: 36: ERROR: type "datetime" does not exist
psql:/home/replicator/pgreplica/bin/Rlayout/create_RST.sql: 107: ERROR: type "datetime" does not exist
psql:/home/replicator/pgreplica/bin/Rlayout/grant-revoke.sql:1: ERROR: relation "pgr_monito r" does not exist
psql:/home/replicator/pgreplica/bin/Rlayout/grant-revoke.sql:4: ERROR: relation "pgr_monito r" does not exist
psql:/home/replicator/pgreplica/bin/Rlayout/grant-revoke.sql:16: ERROR: relation "pgr_monito r" does not exist
psql:/home/replicator/pgreplica/bin/Rlayout/grant-revoke.sql:17: ERROR: relation "pgr_monito r" does not exist
Jul 30 '07 #2
Psychopsam
10 New Member
So I replaced datetime with timestamp and it compiled okay. Just updating this as I go to help others.
Jul 31 '07 #3
Psychopsam
10 New Member
I got stuck on this error...

function pgr_gxid_f (integer, biginteger) unknown

...when running the command

select pgr_replica_tab le ('customers');

...but fixed it by changing this...

This is fixed by changing the second parameter to int8 in pgr_gxid_f.sql like this...
pgr_gxid_f (int4, int8)

save, restart postgresql, recreate your database going back to the ./creatdbr command.
Jul 31 '07 #4
Psychopsam
10 New Member
Now when I run the command ./pgr -sync <dbname> it can't connect...

pgr - postgreSQL replicator
Version: 1.1.0
17:44:17 trying to connect to database on localhost (port 5432)
17:44:20 trying to connect to database on localhost (port 5432)
17:44:23 trying to connect to database on localhost (port 5432)
invalid command name "pg_connect "

So this is where I'm stuck. I can ping both computers and they are listening for pgr on port 5430 and postgres on 5432 but there is not connection happening.

I would appreciate any help any can offer.
Jul 31 '07 #5
ramesh1210
17 New Member
Is the PostgreSQL Replicator working for postgre7.3 or postgre7.4 or any other higher versions.If you have the answer please reply me.You said that you are working on PostgreSQL Replicator.plea se tell me which version of the replicator you are using and from where should i download it.Please reply me.I will be thankfull for your help
Aug 4 '07 #6
Psychopsam
10 New Member
I'm using this

http://pgreplicator.sourceforge.net/...ator-1.1.0.tgz

ontop of Postgres 8.1 installed using yum...

yum -y install postgresql postgresql-server postgresql-devel postgresql-tcl postgresql-pl
Aug 10 '07 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

17
3771
by: Carmen Wai | last post by:
Hello: I would like to know whether there is any different in installing Postgresql on the Linux system with file system of EXT2 or EXT3. I have two machines with idential OS (Red Hat 7.3 install with postgresql 7.3.4) but with different file system, 1 is EXT2 and the other is EXT3. When I insert 10,000 records to the two machines, I found...
19
5223
by: Alex Madon | last post by:
Hello, I am testing a web application (using the DBX PHP function to call a Postgresql backend). I have 375Mb RAM on my test home box. I ran ab (apache benchmark) to test the behaviour of the application under heavy load. When increasing the number of requests, all my memory is filled, and the Linux server begins to cache and remains...
14
4081
by: Manuel Tejada | last post by:
Hi My box: RedHat 9.0, Pentium III Recently I upgraded from PostgreSQL 7.3.2 to PostgreSQL 7.4.1. The PostgreSQL 7.3.2's rpms were installed from RehHat CDs The PostgreSQL 7.4.1's rpms I used to upgrade were downloaded from RHEL3 subdirectory (of the mirror ftp://ftp4.ar.postgresql.org/pub/mirrors/postgresql/binary/v7.4.1/redhat/rhel3). ...
9
4838
by: Wei Wang | last post by:
hi, I just took over a project done by somebody else of some C extension of Postgresql 7.1.3. And now I have to port it to pl/pgsql. The guy who developed it said he didn't get it running under 7.2 for some reason. And I suspect it might not run properly under 7.4.1. Since I only have one machine so I really hope that I could run 7.1.3 and...
2
437
by: Benjamin Jury | last post by:
> -----Original Message----- > From: Christopher Browne > Sent: 10 February 2004 01:57 > To: "pgsql-admin@postgresql.org.pgsql-general"@postgresql.org > Subject: Re: book for postgresql > - O'Reilly has a third one that is also "dated but good." Beware, I have this book. It is indeed very well written in the tradition of O'Reilly...
4
716
by: John Small | last post by:
I want to use PostgreSQL on a project that will have to run on both Linux and Windows. But using cygwin is not a viable option. Does the dbExpert version of PostgreSQL run natively under Windows? Thanks in advance! John
1
2091
by: Robert Fitzpatrick | last post by:
I am getting the following problem with trying to install from source PHP 4.3.6 with PG support on FreeBSD 5.2.1. I have PostgreSQL 7.4.2 recently upgraded from 7.3.x and it is up and running fine. I also have Heimdal 0.6 installed and PostgreSQL was built with that support. Is the error below from something missing on the Heimdal side of...
7
3680
by: Eric | last post by:
Hi, Any suggestion to Rapid Application Dev with postgreSQL ? I have a small app to make. I would prefer open-source solution if possible. I also would like to developp on my linux box but the result will be used on a windows 2000 and XP machine. But If I have no choice, I will developp on winXP.
2
1879
by: Mike Morris | last post by:
Hi, I've setup a postgres server (7.4) and confirmed that SSL is enabled - I can successfully connect via tcp socket over SSL using the psql client. From PHP4, how can I get the pg_connect function to negotiate an SSL connection? I gather from researching the issue that pg_connect uses the same libraries as psql, so that this should be...
0
7703
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7618
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7926
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7982
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5222
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3644
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2116
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1226
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.