summaryrefslogtreecommitdiff
path: root/src/test/modules
diff options
context:
space:
mode:
authorPeter Eisentraut2017-06-13 18:38:35 +0000
committerPeter Eisentraut2017-06-13 18:41:14 +0000
commit272171279f8676c57b3a8edf7daf792ad55b2c2c (patch)
treea52d8d20f9375ab0ed97f892e5679ae0dd2be4a9 /src/test/modules
parent651902deb1551db8b401fdeab9bdb8a61cee7f9f (diff)
psql: Use more consistent capitalization of some output headings
Diffstat (limited to 'src/test/modules')
-rw-r--r--src/test/modules/test_extensions/expected/test_extensions.out14
-rw-r--r--src/test/modules/test_extensions/sql/test_extensions.sql4
2 files changed, 9 insertions, 9 deletions
diff --git a/src/test/modules/test_extensions/expected/test_extensions.out b/src/test/modules/test_extensions/expected/test_extensions.out
index ba8b90e742..28d86c4b87 100644
--- a/src/test/modules/test_extensions/expected/test_extensions.out
+++ b/src/test/modules/test_extensions/expected/test_extensions.out
@@ -44,7 +44,7 @@ create table old_table1 (col1 serial primary key);
create extension test_ext7;
\dx+ test_ext7
Objects in extension "test_ext7"
- Object Description
+ Object description
-------------------------------
sequence ext7_table1_col1_seq
sequence ext7_table2_col2_seq
@@ -57,7 +57,7 @@ Objects in extension "test_ext7"
alter extension test_ext7 update to '2.0';
\dx+ test_ext7
Objects in extension "test_ext7"
- Object Description
+ Object description
-------------------------------
sequence ext7_table2_col2_seq
table ext7_table2
@@ -67,12 +67,12 @@ Objects in extension "test_ext7"
create extension test_ext8;
-- \dx+ would expose a variable pg_temp_nn schema name, so we can't use it here
select regexp_replace(pg_describe_object(classid, objid, objsubid),
- 'pg_temp_\d+', 'pg_temp', 'g') as "Object Description"
+ 'pg_temp_\d+', 'pg_temp', 'g') as "Object description"
from pg_depend
where refclassid = 'pg_extension'::regclass and deptype = 'e' and
refobjid = (select oid from pg_extension where extname = 'test_ext8')
order by 1;
- Object Description
+ Object description
-----------------------------------------
function ext8_even(posint)
function pg_temp.ext8_temp_even(posint)
@@ -85,12 +85,12 @@ order by 1;
drop extension test_ext8;
create extension test_ext8;
select regexp_replace(pg_describe_object(classid, objid, objsubid),
- 'pg_temp_\d+', 'pg_temp', 'g') as "Object Description"
+ 'pg_temp_\d+', 'pg_temp', 'g') as "Object description"
from pg_depend
where refclassid = 'pg_extension'::regclass and deptype = 'e' and
refobjid = (select oid from pg_extension where extname = 'test_ext8')
order by 1;
- Object Description
+ Object description
-----------------------------------------
function ext8_even(posint)
function pg_temp.ext8_temp_even(posint)
@@ -112,7 +112,7 @@ end';
-- extension should now contain no temp objects
\dx+ test_ext8
Objects in extension "test_ext8"
- Object Description
+ Object description
----------------------------
function ext8_even(posint)
table ext8_table1
diff --git a/src/test/modules/test_extensions/sql/test_extensions.sql b/src/test/modules/test_extensions/sql/test_extensions.sql
index 0bfc559295..9e64503eb5 100644
--- a/src/test/modules/test_extensions/sql/test_extensions.sql
+++ b/src/test/modules/test_extensions/sql/test_extensions.sql
@@ -31,7 +31,7 @@ create extension test_ext8;
-- \dx+ would expose a variable pg_temp_nn schema name, so we can't use it here
select regexp_replace(pg_describe_object(classid, objid, objsubid),
- 'pg_temp_\d+', 'pg_temp', 'g') as "Object Description"
+ 'pg_temp_\d+', 'pg_temp', 'g') as "Object description"
from pg_depend
where refclassid = 'pg_extension'::regclass and deptype = 'e' and
refobjid = (select oid from pg_extension where extname = 'test_ext8')
@@ -42,7 +42,7 @@ drop extension test_ext8;
create extension test_ext8;
select regexp_replace(pg_describe_object(classid, objid, objsubid),
- 'pg_temp_\d+', 'pg_temp', 'g') as "Object Description"
+ 'pg_temp_\d+', 'pg_temp', 'g') as "Object description"
from pg_depend
where refclassid = 'pg_extension'::regclass and deptype = 'e' and
refobjid = (select oid from pg_extension where extname = 'test_ext8')