summaryrefslogtreecommitdiffstats
path: root/src/test/regress/expected/hs_standby_check.out
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/regress/expected/hs_standby_check.out')
-rw-r--r--src/test/regress/expected/hs_standby_check.out20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/test/regress/expected/hs_standby_check.out b/src/test/regress/expected/hs_standby_check.out
new file mode 100644
index 0000000..df885ea
--- /dev/null
+++ b/src/test/regress/expected/hs_standby_check.out
@@ -0,0 +1,20 @@
+--
+-- Hot Standby tests
+--
+-- hs_standby_check.sql
+--
+--
+-- If the query below returns false then all other tests will fail after it.
+--
+select case pg_is_in_recovery() when false then
+ 'These tests are intended only for execution on a standby server that is reading ' ||
+ 'WAL from a server upon which the regression database is already created and into ' ||
+ 'which src/test/regress/sql/hs_primary_setup.sql has been run'
+else
+ 'Tests are running on a standby server during recovery'
+end;
+ case
+-------------------------------------------------------
+ Tests are running on a standby server during recovery
+(1 row)
+