summaryrefslogtreecommitdiff
path: root/src/test/regress/sql/sysviews.sql
diff options
context:
space:
mode:
authorNoah Misch2024-06-28 02:21:05 +0000
committerNoah Misch2024-06-28 02:21:05 +0000
commitbb93640a681c2cc709e9836e169c8f3eb556df57 (patch)
treebdd9c37008aa9d200cfbfd264ee3b24794f5aa1a /src/test/regress/sql/sysviews.sql
parent0844b3968985447ed0a6937cfc8639e379da2fe6 (diff)
Add wait event type "InjectionPoint", a custom type like "Extension".
Both injection points and customization of type "Extension" are new in v17, so this just changes a detail of an unreleased feature. Reported by Robert Haas. Reviewed by Michael Paquier. Discussion: https://postgr.es/m/CA+TgmobfMU5pdXP36D5iAwxV5WKE_vuDLtp_1QyH+H5jMMt21g@mail.gmail.com
Diffstat (limited to 'src/test/regress/sql/sysviews.sql')
-rw-r--r--src/test/regress/sql/sysviews.sql5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/regress/sql/sysviews.sql b/src/test/regress/sql/sysviews.sql
index c4f59ddc89a..b047fb55e70 100644
--- a/src/test/regress/sql/sysviews.sql
+++ b/src/test/regress/sql/sysviews.sql
@@ -70,9 +70,10 @@ select count(*) = 0 as ok from pg_stat_wal_receiver;
-- a regression test run.
select name, setting from pg_settings where name like 'enable%';
--- There are always wait event descriptions for various types.
+-- There are always wait event descriptions for various types. InjectionPoint
+-- may be present or absent, depending on history since last postmaster start.
select type, count(*) > 0 as ok FROM pg_wait_events
- group by type order by type COLLATE "C";
+ where type <> 'InjectionPoint' group by type order by type COLLATE "C";
-- Test that the pg_timezone_names and pg_timezone_abbrevs views are
-- more-or-less working. We can't test their contents in any great detail