diff --git a/tests/regress/expected/test_activetable_limit.out b/tests/regress/expected/test_activetable_limit.out index 0b34e601..5b132120 100644 --- a/tests/regress/expected/test_activetable_limit.out +++ b/tests/regress/expected/test_activetable_limit.out @@ -14,6 +14,7 @@ INSERT INTO a02 values(generate_series(0, 500)); INSERT INTO a03 values(generate_series(0, 500)); \c test_tablenum_limit_02 CREATE EXTENSION diskquota; +-- we only read the current log file CREATE EXTERNAL WEB TABLE segment_logs(line text) EXECUTE 'cat $GP_SEG_DATADIR/pg_log/$(ls -Art $GP_SEG_DATADIR/pg_log | tail -n 1)' ON ALL FORMAT 'TEXT' (DELIMITER 'OFF'); diff --git a/tests/regress/expected/test_rejectmap_limit.out b/tests/regress/expected/test_rejectmap_limit.out index f3818a5d..8e1c0eaa 100644 --- a/tests/regress/expected/test_rejectmap_limit.out +++ b/tests/regress/expected/test_rejectmap_limit.out @@ -13,6 +13,7 @@ SELECT diskquota.wait_for_worker_new_epoch(); t (1 row) +-- we only read the current log file CREATE EXTERNAL WEB TABLE master_log(line text) EXECUTE 'cat $GP_SEG_DATADIR/pg_log/$(ls -Art $GP_SEG_DATADIR/pg_log | tail -n 1)' ON MASTER FORMAT 'TEXT' (DELIMITER 'OFF'); diff --git a/tests/regress/sql/test_activetable_limit.sql b/tests/regress/sql/test_activetable_limit.sql index bd94e8a0..601d7111 100644 --- a/tests/regress/sql/test_activetable_limit.sql +++ b/tests/regress/sql/test_activetable_limit.sql @@ -20,7 +20,7 @@ INSERT INTO a03 values(generate_series(0, 500)); \c test_tablenum_limit_02 CREATE EXTENSION diskquota; - +-- we only read the current log file CREATE EXTERNAL WEB TABLE segment_logs(line text) EXECUTE 'cat $GP_SEG_DATADIR/pg_log/$(ls -Art $GP_SEG_DATADIR/pg_log | tail -n 1)' ON ALL FORMAT 'TEXT' (DELIMITER 'OFF'); diff --git a/tests/regress/sql/test_rejectmap_limit.sql b/tests/regress/sql/test_rejectmap_limit.sql index bed80aa4..8bed5cf9 100644 --- a/tests/regress/sql/test_rejectmap_limit.sql +++ b/tests/regress/sql/test_rejectmap_limit.sql @@ -12,6 +12,7 @@ CREATE DATABASE test_reject_map_limit_01; \c test_reject_map_limit_01 CREATE EXTENSION diskquota; SELECT diskquota.wait_for_worker_new_epoch(); +-- we only read the current log file CREATE EXTERNAL WEB TABLE master_log(line text) EXECUTE 'cat $GP_SEG_DATADIR/pg_log/$(ls -Art $GP_SEG_DATADIR/pg_log | tail -n 1)' ON MASTER FORMAT 'TEXT' (DELIMITER 'OFF'); @@ -51,4 +52,4 @@ DROP EXTENSION diskquota; DROP DATABASE test_reject_map_limit_01; \! gpconfig -r diskquota.max_reject_entries > /dev/null -\! gpstop -arf > /dev/null \ No newline at end of file +\! gpstop -arf > /dev/null