-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed regression test failure #254
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
sql/backup_from_standby.sh
Outdated
# mkdir -p ${TBLSPC_PATH}/pgbench | ||
# psql --no-psqlrc -p ${TEST_PGPORT} -d postgres > /dev/null 2>&1 << EOF | ||
# CREATE TABLESPACE pgbench LOCATION '${TBLSPC_PATH}/pgbench'; | ||
# CREATE DATABASE pgbench TABLESPACE = pgbench; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need to comment out the line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I think it's better to replace to CREATE DATABASE pgbench;
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don need the line. So I removed this line and CREATE DATABASE pgbench to replaced it
sql/backup_from_standby.sh
Outdated
|
||
pgbench -i -s $SCALE -p ${TEST_PGPORT} -d pgbench > ${TEST_BASE}/pgbench.log 2>&1 | ||
pgbench -i -s $SCALE -p ${TEST_PGPORT} -d postgres > ${TEST_BASE}/pgbench.log 2>&1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it's better to separate another commit if you want to change the database.
(But, I think the change not seems to be necessary.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I agree with you. So I revert this change.
sql/backup_from_standby.sh
Outdated
CREATE TABLESPACE pgbench LOCATION '${TBLSPC_PATH}/pgbench'; | ||
CREATE DATABASE pgbench TABLESPACE = pgbench; | ||
EOF | ||
# mkdir -p ${TBLSPC_PATH}/pgbench |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need the reason why it's commented out.
Change the backup_from_standby test item because it is not possible to create a streaming replication with external tablespaces on one localhost. So I removed command about created external tablespace. And I used pg_basebackp command to replaced pg_backup_start() and pg_backup_stop().
23b3b13
to
00d0198
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
I confirmed the change. Thanks for your works! |
* Change the backup_from_standby test item. Change the backup_from_standby test item because it is not possible to create a streaming replication with external tablespaces on one localhost. So I removed command about created external tablespace. And I used pg_basebackp command to replaced pg_backup_start() and pg_backup_stop(). * Corrected parameter values.
* Change the backup_from_standby test item. Change the backup_from_standby test item because it is not possible to create a streaming replication with external tablespaces on one localhost. So I removed command about created external tablespace. And I used pg_basebackp command to replaced pg_backup_start() and pg_backup_stop(). * Corrected parameter values.
* Change the backup_from_standby test item. Change the backup_from_standby test item because it is not possible to create a streaming replication with external tablespaces on one localhost. So I removed command about created external tablespace. And I used pg_basebackp command to replaced pg_backup_start() and pg_backup_stop(). * Corrected parameter values.
* Change the backup_from_standby test item. Change the backup_from_standby test item because it is not possible to create a streaming replication with external tablespaces on one localhost. So I removed command about created external tablespace. And I used pg_basebackp command to replaced pg_backup_start() and pg_backup_stop(). * Corrected parameter values.
* Change the backup_from_standby test item. Change the backup_from_standby test item because it is not possible to create a streaming replication with external tablespaces on one localhost. So I removed command about created external tablespace. And I used pg_basebackp command to replaced pg_backup_start() and pg_backup_stop(). * Corrected parameter values.
* Change the backup_from_standby test item. Change the backup_from_standby test item because it is not possible to create a streaming replication with external tablespaces on one localhost. So I removed command about created external tablespace. And I used pg_basebackp command to replaced pg_backup_start() and pg_backup_stop(). * Corrected parameter values.
Fixed a problem that caused some regression tests of pg_rman to fail since 15.4.