Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit d159552

Browse files
committed
Remove user_relns() SRF from regression tests.
Back-patch commit 0dba54f into the older branches. This test is almost as much of a patching hazard there as it is in HEAD, and it has no more reason to be needed than it does in HEAD. I went back as far as 9.2; I judged 9.1 not worth the trouble since it's on the verge of being EOL'd.
1 parent 008a7dc commit d159552

File tree

4 files changed

+0
-158
lines changed

4 files changed

+0
-158
lines changed

src/test/regress/input/create_function_2.source

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,6 @@ CREATE FUNCTION equipment_named_ambiguous_2b(hobby text)
6262
LANGUAGE SQL;
6363

6464

65-
CREATE FUNCTION user_relns()
66-
RETURNS setof name
67-
AS 'select relname
68-
from pg_class c, pg_namespace n
69-
where relnamespace = n.oid and
70-
(nspname !~ ''pg_.*'' and nspname <> ''information_schema'') and
71-
relkind <> ''i'' '
72-
LANGUAGE SQL;
73-
7465
CREATE FUNCTION pt_in_widget(point, widget)
7566
RETURNS bool
7667
AS '@libdir@/regress@DLSUFFIX@'

src/test/regress/input/misc.source

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -218,9 +218,6 @@ SELECT (p.hobbies).equipment.name, name(p.hobbies), p.name FROM ONLY person p;
218218

219219
SELECT name(equipment(p.hobbies)), name(p.hobbies), p.name FROM person* p;
220220

221-
SELECT user_relns() AS user_relns
222-
ORDER BY user_relns;
223-
224221
SELECT name(equipment(hobby_construct(text 'skywalking', text 'mer')));
225222

226223
SELECT name(equipment(hobby_construct_named(text 'skywalking', text 'mer')));

src/test/regress/output/create_function_2.source

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ CREATE FUNCTION equipment_named_ambiguous_2b(hobby text)
4747
RETURNS setof equipment_r
4848
AS 'select * from equipment_r where equipment_r.hobby = hobby'
4949
LANGUAGE SQL;
50-
CREATE FUNCTION user_relns()
51-
RETURNS setof name
52-
AS 'select relname
53-
from pg_class c, pg_namespace n
54-
where relnamespace = n.oid and
55-
(nspname !~ ''pg_.*'' and nspname <> ''information_schema'') and
56-
relkind <> ''i'' '
57-
LANGUAGE SQL;
5850
CREATE FUNCTION pt_in_widget(point, widget)
5951
RETURNS bool
6052
AS '@libdir@/regress@DLSUFFIX@'

src/test/regress/output/misc.source

Lines changed: 0 additions & 138 deletions
Original file line numberDiff line numberDiff line change
@@ -574,144 +574,6 @@ SELECT name(equipment(p.hobbies)), name(p.hobbies), p.name FROM person* p;
574574
peet's coffee | posthacking | jeff
575575
(6 rows)
576576

577-
SELECT user_relns() AS user_relns
578-
ORDER BY user_relns;
579-
user_relns
580-
---------------------
581-
a
582-
a_star
583-
abstime_tbl
584-
aggtest
585-
aggtype
586-
array_index_op_test
587-
array_op_test
588-
arrtest
589-
b
590-
b_star
591-
bb
592-
box_tbl
593-
bprime
594-
brinopers
595-
brintest
596-
bt_f8_heap
597-
bt_i4_heap
598-
bt_name_heap
599-
bt_txt_heap
600-
btree_tall_tbl
601-
c
602-
c_star
603-
char_tbl
604-
check2_tbl
605-
check_seq
606-
check_tbl
607-
circle_tbl
608-
city
609-
copy_tbl
610-
d
611-
d_star
612-
date_tbl
613-
default_seq
614-
default_tbl
615-
defaultexpr_tbl
616-
dept
617-
dupindexcols
618-
e_star
619-
emp
620-
equipment_r
621-
f_star
622-
fast_emp4000
623-
float4_tbl
624-
float8_tbl
625-
func_index_heap
626-
gin_test_tbl
627-
gist_point_tbl
628-
hash_f8_heap
629-
hash_i4_heap
630-
hash_name_heap
631-
hash_txt_heap
632-
hobbies_r
633-
iexit
634-
ihighway
635-
inet_tbl
636-
inhf
637-
inhx
638-
insert_seq
639-
insert_tbl
640-
int2_tbl
641-
int4_tbl
642-
int8_tbl
643-
interval_tbl
644-
iportaltest
645-
kd_point_tbl
646-
line_tbl
647-
log_table
648-
lseg_tbl
649-
main_table
650-
money_data
651-
num_data
652-
num_exp_add
653-
num_exp_div
654-
num_exp_ln
655-
num_exp_log10
656-
num_exp_mul
657-
num_exp_power_10_ln
658-
num_exp_sqrt
659-
num_exp_sub
660-
num_input_test
661-
num_result
662-
onek
663-
onek2
664-
path_tbl
665-
person
666-
point_tbl
667-
polygon_tbl
668-
quad_point_tbl
669-
radix_text_tbl
670-
ramp
671-
random_tbl
672-
real_city
673-
reltime_tbl
674-
rls_tbl
675-
rls_tbl_force
676-
road
677-
shighway
678-
slow_emp4000
679-
spgist_point_tbl
680-
spgist_text_tbl
681-
street
682-
stud_emp
683-
student
684-
subselect_tbl
685-
t
686-
tenk1
687-
tenk2
688-
test_range_excl
689-
test_range_gist
690-
test_range_spgist
691-
test_tablesample
692-
test_tablesample_v1
693-
test_tablesample_v2
694-
test_tsvector
695-
testjsonb
696-
text_tbl
697-
time_tbl
698-
timestamp_tbl
699-
timestamptz_tbl
700-
timetz_tbl
701-
tinterval_tbl
702-
tm
703-
tmm
704-
toyemp
705-
tv
706-
tvm
707-
tvmm
708-
tvv
709-
tvvm
710-
tvvmv
711-
varchar_tbl
712-
xacttest
713-
(132 rows)
714-
715577
SELECT name(equipment(hobby_construct(text 'skywalking', text 'mer')));
716578
name
717579
------

0 commit comments

Comments
 (0)