summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch')
-rw-r--r--meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch18
1 files changed, 9 insertions, 9 deletions
diff --git a/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch b/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch
index af36da4927..8219fc80e9 100644
--- a/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch
+++ b/meta-oe/recipes-dbs/postgresql/files/0005-postgresql-fix-ptest-failure-of-sysviews.patch
@@ -1,7 +1,7 @@
1From 1a8b94140988d2ee5ff987b0bb3e7c3e936b8c01 Mon Sep 17 00:00:00 2001 1From d1fb37569b5a8c21968f69164e8bc6e4bb0185eb Mon Sep 17 00:00:00 2001
2From: Manoj Saun <manojsingh.saun@windriver.com> 2From: Manoj Saun <manojsingh.saun@windriver.com>
3Date: Wed, 22 Mar 2023 08:07:26 +0000 3Date: Wed, 22 Mar 2023 08:07:26 +0000
4Subject: [PATCH 5/5] postgresql: fix ptest failure of sysviews 4Subject: [PATCH] postgresql: fix ptest failure of sysviews
5 5
6The patch "0001-config_info.c-not-expose-build-info.patch" hides the debug info 6The patch "0001-config_info.c-not-expose-build-info.patch" hides the debug info
7in pg_config table which reduces the count of rows from pg_config and leads to 7in pg_config table which reduces the count of rows from pg_config and leads to
@@ -19,12 +19,12 @@ Signed-off-by: Manoj Saun <manojsingh.saun@windriver.com>
19 2 files changed, 2 insertions(+), 2 deletions(-) 19 2 files changed, 2 insertions(+), 2 deletions(-)
20 20
21diff --git a/src/test/regress/expected/sysviews.out b/src/test/regress/expected/sysviews.out 21diff --git a/src/test/regress/expected/sysviews.out b/src/test/regress/expected/sysviews.out
22index 001c6e7..8256898 100644 22index 2176a54..a84bc27 100644
23--- a/src/test/regress/expected/sysviews.out 23--- a/src/test/regress/expected/sysviews.out
24+++ b/src/test/regress/expected/sysviews.out 24+++ b/src/test/regress/expected/sysviews.out
25@@ -29,7 +29,7 @@ select name, ident, parent, level, total_bytes >= free_bytes 25@@ -52,7 +52,7 @@ from pg_backend_memory_contexts where name = 'Caller tuples';
26 (1 row)
27 26
27 rollback;
28 -- At introduction, pg_config had 23 entries; it may grow 28 -- At introduction, pg_config had 23 entries; it may grow
29-select count(*) > 20 as ok from pg_config; 29-select count(*) > 20 as ok from pg_config;
30+select count(*) > 13 as ok from pg_config; 30+select count(*) > 13 as ok from pg_config;
@@ -32,11 +32,11 @@ index 001c6e7..8256898 100644
32 ---- 32 ----
33 t 33 t
34diff --git a/src/test/regress/sql/sysviews.sql b/src/test/regress/sql/sysviews.sql 34diff --git a/src/test/regress/sql/sysviews.sql b/src/test/regress/sql/sysviews.sql
35index 351e469..84c113e 100644 35index b047fb5..d1e3999 100644
36--- a/src/test/regress/sql/sysviews.sql 36--- a/src/test/regress/sql/sysviews.sql
37+++ b/src/test/regress/sql/sysviews.sql 37+++ b/src/test/regress/sql/sysviews.sql
38@@ -18,7 +18,7 @@ select name, ident, parent, level, total_bytes >= free_bytes 38@@ -33,7 +33,7 @@ from pg_backend_memory_contexts where name = 'Caller tuples';
39 from pg_backend_memory_contexts where level = 0; 39 rollback;
40 40
41 -- At introduction, pg_config had 23 entries; it may grow 41 -- At introduction, pg_config had 23 entries; it may grow
42-select count(*) > 20 as ok from pg_config; 42-select count(*) > 20 as ok from pg_config;
@@ -45,5 +45,5 @@ index 351e469..84c113e 100644
45 -- We expect no cursors in this test; see also portals.sql 45 -- We expect no cursors in this test; see also portals.sql
46 select count(*) = 0 as ok from pg_cursors; 46 select count(*) = 0 as ok from pg_cursors;
47-- 47--
482.25.1 482.34.1
49 49