# Checking port 57358
# Found port 57358
Name: publisher
Data directory: /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_publisher_data/pgdata
Backup directory: /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_publisher_data/backup
Archive directory: /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_publisher_data/archives
Connection string: port=57358 host=/tmp/Wpn0M70FB7
Log file: /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/log/010_truncate_publisher.log
# Running: initdb -D /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_publisher_data/pgdata -A trust -N
The files belonging to this database system will be owned by user "nm".
This user must also own the server process.

The database cluster will be initialized with this locale configuration:
  provider:    libc
  LC_COLLATE:  en_US
  LC_CTYPE:    en_US
  LC_MESSAGES: C
  LC_MONETARY: en_US
  LC_NUMERIC:  en_US
  LC_TIME:     en_US
The default database encoding has accordingly been set to "LATIN1".
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_publisher_data/pgdata ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... CUT0
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok

Sync to disk skipped.
The data directory might become corrupt if the operating system crashes.

Success. You can now start the database server using:

    pg_ctl -D /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_publisher_data/pgdata -l logfile start

# Running: /home/nm/src/pg/postgresql/src/test/subscription/../../../src/test/regress/pg_regress --config-auth /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_publisher_data/pgdata
### Starting node "publisher"
# Running: pg_ctl -w -D /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_publisher_data/pgdata -l /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/log/010_truncate_publisher.log -o --cluster-name=publisher start
waiting for server to start.... done
server started
# Postmaster PID for node "publisher" is 60293500
# Checking port 57359
# Found port 57359
Name: subscriber
Data directory: /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_subscriber_data/pgdata
Backup directory: /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_subscriber_data/backup
Archive directory: /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_subscriber_data/archives
Connection string: port=57359 host=/tmp/Wpn0M70FB7
Log file: /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/log/010_truncate_subscriber.log
# Running: initdb -D /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_subscriber_data/pgdata -A trust -N
The files belonging to this database system will be owned by user "nm".
This user must also own the server process.

The database cluster will be initialized with this locale configuration:
  provider:    libc
  LC_COLLATE:  en_US
  LC_CTYPE:    en_US
  LC_MESSAGES: C
  LC_MONETARY: en_US
  LC_NUMERIC:  en_US
  LC_TIME:     en_US
The default database encoding has accordingly been set to "LATIN1".
The default text search configuration will be set to "english".

Data page checksums are disabled.

creating directory /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_subscriber_data/pgdata ... ok
creating subdirectories ... ok
selecting dynamic shared memory implementation ... posix
selecting default max_connections ... 100
selecting default shared_buffers ... 128MB
selecting default time zone ... CUT0
creating configuration files ... ok
running bootstrap script ... ok
performing post-bootstrap initialization ... ok

Sync to disk skipped.
The data directory might become corrupt if the operating system crashes.

Success. You can now start the database server using:

    pg_ctl -D /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_subscriber_data/pgdata -l logfile start

# Running: /home/nm/src/pg/postgresql/src/test/subscription/../../../src/test/regress/pg_regress --config-auth /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_subscriber_data/pgdata
### Starting node "subscriber"
# Running: pg_ctl -w -D /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_subscriber_data/pgdata -l /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/log/010_truncate_subscriber.log -o --cluster-name=subscriber start
waiting for server to start.... done
server started
# Postmaster PID for node "subscriber" is 33161534
#### Begin standard error
psql:<stdin>:1: NOTICE:  created replication slot "sub1" on publisher
#### End standard error
#### Begin standard error
psql:<stdin>:1: NOTICE:  created replication slot "sub2" on publisher
#### End standard error
#### Begin standard error
psql:<stdin>:1: NOTICE:  created replication slot "sub3" on publisher
#### End standard error
Waiting for replication conn sub1's replay_lsn to pass 0/14FCFC8 on publisher
done
Waiting for replication conn sub1's replay_lsn to pass 0/14FD660 on publisher
done
ok 1 - truncate replicated
ok 2 - sequence not restarted
Waiting for replication conn sub1's replay_lsn to pass 0/14FDCE8 on publisher
done
ok 3 - truncate restarted identities
Waiting for replication conn sub2's replay_lsn to pass 0/14FE398 on publisher
done
ok 4 - truncate not replicated
Waiting for replication conn sub2's replay_lsn to pass 0/14FEBC0 on publisher
done
ok 5 - truncate replicated after publication change
Waiting for replication conn sub3's replay_lsn to pass 0/14FF890 on publisher
done
ok 6 - truncate of multiple tables replicated
ok 7 - truncate of multiple tables replicated
#### Begin standard error
psql:<stdin>:1: NOTICE:  dropped replication slot "sub2" on publisher
#### End standard error
Waiting for replication conn sub1's replay_lsn to pass 0/1500870 on publisher
done
ok 8 - truncate of multiple tables some not published
ok 9 - truncate of multiple tables some not published
Waiting for replication conn sub1's replay_lsn to pass 0/1500A80 on publisher
done
ok 10 - check synchronous logical replication
Waiting for replication conn sub1's replay_lsn to pass 0/1501108 on publisher
done
ok 11 - truncate replicated in synchronous logical replication
#### Begin standard error
psql:<stdin>:1: NOTICE:  created replication slot "sub5_1" on publisher
#### End standard error
#### Begin standard error
psql:<stdin>:1: NOTICE:  created replication slot "sub5_2" on publisher
#### End standard error
Waiting for replication conn sub5_1's replay_lsn to pass 0/1502EB8 on publisher
done
Waiting for replication conn sub5_2's replay_lsn to pass 0/1502EB8 on publisher
done
ok 12 - insert replicated for multiple subscriptions
Waiting for replication conn sub5_1's replay_lsn to pass 0/15031D8 on publisher
done
Waiting for replication conn sub5_2's replay_lsn to pass 0/15031D8 on publisher
done
ok 13 - truncate replicated for multiple subscriptions
ok 14 - no deadlocks detected
1..14
### Stopping node "publisher" using mode immediate
# Running: pg_ctl -D /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_publisher_data/pgdata -m immediate stop
waiting for server to shut down.... done
server stopped
# No postmaster PID for node "publisher"
### Stopping node "subscriber" using mode immediate
# Running: pg_ctl -D /home/nm/src/pg/postgresql/src/test/subscription/tmp_check/t_010_truncate_subscriber_data/pgdata -m immediate stop
waiting for server to shut down.... done
server stopped
# No postmaster PID for node "subscriber"
