Clean up waiting for server to shut down.... done server stopped waiting for server to shut down.... done server stopped waiting for server to shut down.... done server stopped waiting for server to shut down.... done server stopped waiting for server to shut down.... done server stopped Set up The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_AU.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory data_N1 ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Australia/Sydney creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: pg_ctl -D data_N1 -l logfile start The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_AU.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory data_N2 ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Australia/Sydney creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: pg_ctl -D data_N2 -l logfile start The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_AU.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory data_N3 ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Australia/Sydney creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: pg_ctl -D data_N3 -l logfile start The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_AU.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory data_N4 ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Australia/Sydney creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: pg_ctl -D data_N4 -l logfile start The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale "en_AU.UTF-8". The default database encoding has accordingly been set to "UTF8". The default text search configuration will be set to "english". Data page checksums are disabled. creating directory data_N5 ... ok creating subdirectories ... ok selecting dynamic shared memory implementation ... posix selecting default max_connections ... 100 selecting default shared_buffers ... 128MB selecting default time zone ... Australia/Sydney creating configuration files ... ok running bootstrap script ... ok performing post-bootstrap initialization ... ok syncing data to disk ... ok initdb: warning: enabling "trust" authentication for local connections You can change this by editing pg_hba.conf or using the option -A, or --auth-local and --auth-host, the next time you run initdb. Success. You can now start the database server using: pg_ctl -D data_N5 -l logfile start waiting for server to start.... done server started waiting for server to start.... done server started waiting for server to start.... done server started waiting for server to start.... done server started waiting for server to start.... done server started CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE CREATE TABLE **************************************** Initial table data for all nodes **************************************** INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 Initial data on all nodes n1 ---- 10 (1 row) n2 ---- 20 (1 row) n3 ---- 30 (1 row) n4 ---- 40 (1 row) n5 ---- 50 (1 row) **************************************** Share table data for nodes N1,N2 **************************************** CREATE PUBLICATION CREATE PUBLICATION NOTICE: created replication slot "sub12" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub21" on publisher CREATE SUBSCRIPTION Initial data of N1,N2 should be shared n1 ---- 10 20 (2 rows) n2 ---- 10 20 (2 rows) n3 ---- 30 (1 row) n4 ---- 40 (1 row) n5 ---- 50 (1 row) INSERT 0 1 INSERT 0 1 Data inserted at N1,N2 should be shared n1 ---- 10 12 20 22 (4 rows) n2 ---- 10 12 20 22 (4 rows) n3 ---- 30 (1 row) n4 ---- 40 (1 row) n5 ---- 50 (1 row) **************************************** Share table data for nodes N1,N2,N3 **************************************** CREATE PUBLICATION NOTICE: created replication slot "sub13" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub23" on publisher CREATE SUBSCRIPTION ALTER PUBLICATION TRUNCATE TABLE NOTICE: created replication slot "sub31" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub32" on publisher CREATE SUBSCRIPTION ALTER PUBLICATION Initial data of N1,N2,N3 should be shared n1 ---- 10 12 20 22 30 (5 rows) n2 ---- 10 12 20 22 30 (5 rows) n3 ---- 10 12 20 22 30 (5 rows) n4 ---- 40 (1 row) n5 ---- 50 (1 row) INSERT 0 1 INSERT 0 1 INSERT 0 1 Data inserted at N1,N2,N3 should be shared n1 ---- 10 12 13 20 22 23 30 33 (8 rows) n2 ---- 10 12 13 20 22 23 30 33 (8 rows) n3 ---- 10 12 13 20 22 23 30 33 (8 rows) n4 ---- 40 (1 row) n5 ---- 50 (1 row) **************************************** Share table data for nodes N1,N2,N3,N4 **************************************** CREATE PUBLICATION NOTICE: created replication slot "sub14" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub24" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub34" on publisher CREATE SUBSCRIPTION ALTER PUBLICATION TRUNCATE TABLE NOTICE: created replication slot "sub41" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub42" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub43" on publisher CREATE SUBSCRIPTION ALTER PUBLICATION Initial data of N1,N2,N3,N4 should be shared n1 ---- 10 12 13 20 22 23 30 33 40 (9 rows) n2 ---- 10 12 13 20 22 23 30 33 40 (9 rows) n3 ---- 10 12 13 20 22 23 30 33 40 (9 rows) n4 ---- 10 12 13 20 22 23 30 33 40 (9 rows) n5 ---- 50 (1 row) INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 Data inserted at N1,N2,N3,N4 should be shared n1 ---- 10 12 13 14 20 22 23 24 30 33 34 40 44 (13 rows) n2 ---- 10 12 13 14 20 22 23 24 30 33 34 40 44 (13 rows) n3 ---- 10 12 13 14 20 22 23 24 30 33 34 40 44 (13 rows) n4 ---- 10 12 13 14 20 22 23 24 30 33 34 40 44 (13 rows) n5 ---- 50 (1 row) **************************************** Share table data for nodes N1,N2,N3,N4,N5 **************************************** CREATE PUBLICATION NOTICE: created replication slot "sub15" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub25" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub35" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub45" on publisher CREATE SUBSCRIPTION ALTER PUBLICATION TRUNCATE TABLE NOTICE: created replication slot "sub51" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub52" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub53" on publisher CREATE SUBSCRIPTION NOTICE: created replication slot "sub54" on publisher CREATE SUBSCRIPTION ALTER PUBLICATION Initial data of N1,N2,N3,N4,N5 should be shared n1 ---- 10 12 13 14 20 22 23 24 30 33 34 40 44 50 (14 rows) n2 ---- 10 12 13 14 20 22 23 24 30 33 34 40 44 50 (14 rows) n3 ---- 10 12 13 14 20 22 23 24 30 33 34 40 44 50 (14 rows) n4 ---- 10 12 13 14 20 22 23 24 30 33 34 40 44 50 (14 rows) n5 ---- 10 12 13 14 20 22 23 24 30 33 34 40 44 50 (14 rows) INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 INSERT 0 1 Data inserted at N1,N2,N3,N4,N5 should be shared n1 ---- 10 12 13 14 15 20 22 23 24 25 30 33 34 35 40 44 45 50 55 (19 rows) n2 ---- 10 12 13 14 15 20 22 23 24 25 30 33 34 35 40 44 45 50 55 (19 rows) n3 ---- 10 12 13 14 15 20 22 23 24 25 30 33 34 35 40 44 45 50 55 (19 rows) n4 ---- 10 12 13 14 15 20 22 23 24 25 30 33 34 35 40 44 45 50 55 (19 rows) n5 ---- 10 12 13 14 15 20 22 23 24 25 30 33 34 35 40 44 45 50 55 (19 rows)