Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Postgres XC Error while distributing data by replication in psql

$
0
0

I have installed, configured my Postgres XC 1.0.2 on Ubuntu. I was able to setup the GTM, Coordinator, nodes 1 & 2 with no challenges. But when attempting to distribute the data amongst the two nodes, I'm getting the below errors which are actually contradicting each other.

postgres=# CREATE TABLE DIST_REP(T INT) DISTRIBUTE BY REPLICATION TO NODE datanode1,datanode2;
  ERROR:  relation "dist_rep" already exists 

postgres=# INSERT INTO DIST_REP VALUES(GENERATE_SERIES(1,100)); 
  ERROR:  relation "dist_rep" does not exist

Viewing all articles
Browse latest Browse all 17268

Trending Articles