mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 17:36:52 +02:00
Remove user_relns() SRF from regression tests.
Back-patch commit 0dba54f166
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.
This commit is contained in:
parent
008a7dc327
commit
d1595525bd
@ -62,15 +62,6 @@ CREATE FUNCTION equipment_named_ambiguous_2b(hobby text)
|
||||
LANGUAGE SQL;
|
||||
|
||||
|
||||
CREATE FUNCTION user_relns()
|
||||
RETURNS setof name
|
||||
AS 'select relname
|
||||
from pg_class c, pg_namespace n
|
||||
where relnamespace = n.oid and
|
||||
(nspname !~ ''pg_.*'' and nspname <> ''information_schema'') and
|
||||
relkind <> ''i'' '
|
||||
LANGUAGE SQL;
|
||||
|
||||
CREATE FUNCTION pt_in_widget(point, widget)
|
||||
RETURNS bool
|
||||
AS '@libdir@/regress@DLSUFFIX@'
|
||||
|
@ -218,9 +218,6 @@ SELECT (p.hobbies).equipment.name, name(p.hobbies), p.name FROM ONLY person p;
|
||||
|
||||
SELECT name(equipment(p.hobbies)), name(p.hobbies), p.name FROM person* p;
|
||||
|
||||
SELECT user_relns() AS user_relns
|
||||
ORDER BY user_relns;
|
||||
|
||||
SELECT name(equipment(hobby_construct(text 'skywalking', text 'mer')));
|
||||
|
||||
SELECT name(equipment(hobby_construct_named(text 'skywalking', text 'mer')));
|
||||
|
@ -47,14 +47,6 @@ CREATE FUNCTION equipment_named_ambiguous_2b(hobby text)
|
||||
RETURNS setof equipment_r
|
||||
AS 'select * from equipment_r where equipment_r.hobby = hobby'
|
||||
LANGUAGE SQL;
|
||||
CREATE FUNCTION user_relns()
|
||||
RETURNS setof name
|
||||
AS 'select relname
|
||||
from pg_class c, pg_namespace n
|
||||
where relnamespace = n.oid and
|
||||
(nspname !~ ''pg_.*'' and nspname <> ''information_schema'') and
|
||||
relkind <> ''i'' '
|
||||
LANGUAGE SQL;
|
||||
CREATE FUNCTION pt_in_widget(point, widget)
|
||||
RETURNS bool
|
||||
AS '@libdir@/regress@DLSUFFIX@'
|
||||
|
@ -574,144 +574,6 @@ SELECT name(equipment(p.hobbies)), name(p.hobbies), p.name FROM person* p;
|
||||
peet's coffee | posthacking | jeff
|
||||
(6 rows)
|
||||
|
||||
SELECT user_relns() AS user_relns
|
||||
ORDER BY user_relns;
|
||||
user_relns
|
||||
---------------------
|
||||
a
|
||||
a_star
|
||||
abstime_tbl
|
||||
aggtest
|
||||
aggtype
|
||||
array_index_op_test
|
||||
array_op_test
|
||||
arrtest
|
||||
b
|
||||
b_star
|
||||
bb
|
||||
box_tbl
|
||||
bprime
|
||||
brinopers
|
||||
brintest
|
||||
bt_f8_heap
|
||||
bt_i4_heap
|
||||
bt_name_heap
|
||||
bt_txt_heap
|
||||
btree_tall_tbl
|
||||
c
|
||||
c_star
|
||||
char_tbl
|
||||
check2_tbl
|
||||
check_seq
|
||||
check_tbl
|
||||
circle_tbl
|
||||
city
|
||||
copy_tbl
|
||||
d
|
||||
d_star
|
||||
date_tbl
|
||||
default_seq
|
||||
default_tbl
|
||||
defaultexpr_tbl
|
||||
dept
|
||||
dupindexcols
|
||||
e_star
|
||||
emp
|
||||
equipment_r
|
||||
f_star
|
||||
fast_emp4000
|
||||
float4_tbl
|
||||
float8_tbl
|
||||
func_index_heap
|
||||
gin_test_tbl
|
||||
gist_point_tbl
|
||||
hash_f8_heap
|
||||
hash_i4_heap
|
||||
hash_name_heap
|
||||
hash_txt_heap
|
||||
hobbies_r
|
||||
iexit
|
||||
ihighway
|
||||
inet_tbl
|
||||
inhf
|
||||
inhx
|
||||
insert_seq
|
||||
insert_tbl
|
||||
int2_tbl
|
||||
int4_tbl
|
||||
int8_tbl
|
||||
interval_tbl
|
||||
iportaltest
|
||||
kd_point_tbl
|
||||
line_tbl
|
||||
log_table
|
||||
lseg_tbl
|
||||
main_table
|
||||
money_data
|
||||
num_data
|
||||
num_exp_add
|
||||
num_exp_div
|
||||
num_exp_ln
|
||||
num_exp_log10
|
||||
num_exp_mul
|
||||
num_exp_power_10_ln
|
||||
num_exp_sqrt
|
||||
num_exp_sub
|
||||
num_input_test
|
||||
num_result
|
||||
onek
|
||||
onek2
|
||||
path_tbl
|
||||
person
|
||||
point_tbl
|
||||
polygon_tbl
|
||||
quad_point_tbl
|
||||
radix_text_tbl
|
||||
ramp
|
||||
random_tbl
|
||||
real_city
|
||||
reltime_tbl
|
||||
rls_tbl
|
||||
rls_tbl_force
|
||||
road
|
||||
shighway
|
||||
slow_emp4000
|
||||
spgist_point_tbl
|
||||
spgist_text_tbl
|
||||
street
|
||||
stud_emp
|
||||
student
|
||||
subselect_tbl
|
||||
t
|
||||
tenk1
|
||||
tenk2
|
||||
test_range_excl
|
||||
test_range_gist
|
||||
test_range_spgist
|
||||
test_tablesample
|
||||
test_tablesample_v1
|
||||
test_tablesample_v2
|
||||
test_tsvector
|
||||
testjsonb
|
||||
text_tbl
|
||||
time_tbl
|
||||
timestamp_tbl
|
||||
timestamptz_tbl
|
||||
timetz_tbl
|
||||
tinterval_tbl
|
||||
tm
|
||||
tmm
|
||||
toyemp
|
||||
tv
|
||||
tvm
|
||||
tvmm
|
||||
tvv
|
||||
tvvm
|
||||
tvvmv
|
||||
varchar_tbl
|
||||
xacttest
|
||||
(132 rows)
|
||||
|
||||
SELECT name(equipment(hobby_construct(text 'skywalking', text 'mer')));
|
||||
name
|
||||
------
|
||||
|
Loading…
Reference in New Issue
Block a user