Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd491346

Browse files
committed
Remove user_relns() SRF from regression tests.
Back-patch commit0dba54f into the olderbranches. This test is almost as much of a patching hazard there as it isin 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 sinceit's on the verge of being EOL'd.
1 parentb5afc6f commitd491346

File tree

4 files changed

+0
-144
lines changed

4 files changed

+0
-144
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 & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -574,130 +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-
bt_f8_heap
595-
bt_i4_heap
596-
bt_name_heap
597-
bt_txt_heap
598-
c
599-
c_star
600-
char_tbl
601-
check2_tbl
602-
check_seq
603-
check_tbl
604-
circle_tbl
605-
city
606-
copy_tbl
607-
d
608-
d_star
609-
date_tbl
610-
default_seq
611-
default_tbl
612-
defaultexpr_tbl
613-
dept
614-
dupindexcols
615-
e_star
616-
emp
617-
equipment_r
618-
f_star
619-
fast_emp4000
620-
float4_tbl
621-
float8_tbl
622-
func_index_heap
623-
hash_f8_heap
624-
hash_i4_heap
625-
hash_name_heap
626-
hash_txt_heap
627-
hobbies_r
628-
iexit
629-
ihighway
630-
inet_tbl
631-
inhf
632-
inhx
633-
insert_seq
634-
insert_tbl
635-
int2_tbl
636-
int4_tbl
637-
int8_tbl
638-
interval_tbl
639-
iportaltest
640-
kd_point_tbl
641-
log_table
642-
lseg_tbl
643-
main_table
644-
money_data
645-
num_data
646-
num_exp_add
647-
num_exp_div
648-
num_exp_ln
649-
num_exp_log10
650-
num_exp_mul
651-
num_exp_power_10_ln
652-
num_exp_sqrt
653-
num_exp_sub
654-
num_input_test
655-
num_result
656-
onek
657-
onek2
658-
path_tbl
659-
person
660-
point_tbl
661-
polygon_tbl
662-
quad_point_tbl
663-
radix_text_tbl
664-
ramp
665-
random_tbl
666-
real_city
667-
reltime_tbl
668-
road
669-
shighway
670-
slow_emp4000
671-
street
672-
stud_emp
673-
student
674-
subselect_tbl
675-
t
676-
tenk1
677-
tenk2
678-
test_range_excl
679-
test_range_gist
680-
test_range_spgist
681-
test_tsvector
682-
text_tbl
683-
time_tbl
684-
timestamp_tbl
685-
timestamptz_tbl
686-
timetz_tbl
687-
tinterval_tbl
688-
tm
689-
tmm
690-
toyemp
691-
tv
692-
tvm
693-
tvmm
694-
tvv
695-
tvvm
696-
tvvmv
697-
varchar_tbl
698-
xacttest
699-
(118 rows)
700-
701577
SELECT name(equipment(hobby_construct(text 'skywalking', text 'mer')));
702578
name
703579
------

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp