Skip to content

resolve type with empty search path#2324

Merged
jennifersp merged 2 commits intomainfrom
jennifer/type
Feb 16, 2026
Merged

resolve type with empty search path#2324
jennifersp merged 2 commits intomainfrom
jennifer/type

Conversation

@jennifersp
Copy link
Contributor

No description provided.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

Main PR
covering_index_scan_postgres 559.85/s 556.40/s -0.7%
index_join_postgres 122.86/s 123.55/s +0.5%
index_join_scan_postgres 178.42/s 177.78/s -0.4%
index_scan_postgres 11.24/s 11.33/s +0.8%
oltp_point_select 2370.80/s 2355.24/s -0.7%
oltp_read_only 1688.91/s 1692.44/s +0.2%
select_random_points 108.98/s 108.29/s -0.7%
select_random_ranges 421.68/s 428.33/s +1.5%
table_scan_postgres 11.11/s 11.17/s +0.5%
types_table_scan_postgres 5.12/s 5.17/s +0.9%

Copy link
Collaborator

@Hydrocharged Hydrocharged left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@github-actions
Copy link
Contributor

github-actions bot commented Feb 13, 2026

Main PR
Total 42090 42090
Successful 17508 17571
Failures 24582 24519
Partial Successes1 5575 5585
Main PR
Successful 41.5966% 41.7463%
Failures 58.4034% 58.2537%

${\color{lightgreen}Progressions (64)}$

domain

QUERY: create or replace function array_elem_check(numeric) returns numeric as $$
declare
  x numeric(4,2)[1];
begin
  x[1] := $1;
  return x[1];
end$$ language plpgsql;
QUERY: create or replace function array_elem_check(numeric) returns numeric as $$
declare
  x mynums;
begin
  x[1] := $1;
  return x[1];
end$$ language plpgsql;
QUERY: create or replace function array_elem_check(numeric) returns numeric as $$
declare
  x mynums2;
begin
  x[1] := $1;
  return x[1];
end$$ language plpgsql;
QUERY: drop function array_elem_check(numeric);

plpgsql

QUERY: create or replace function pleast(numeric)
returns numeric as $$
begin
  raise notice 'non-variadic function called';
  return $1;
end;
$$ language plpgsql immutable strict;
QUERY: drop function pleast(numeric);

polymorphism

QUERY: create function dfunc(a varchar, b numeric, c date = current_date)
  returns table (a varchar, b numeric, c date) as $$
  select $1, $2, $3;
$$ language sql;
QUERY: drop function dfunc(varchar, numeric, date);

rangefuncs

QUERY: create or replace function rngfuncbar(out integer, out numeric) as
$$ select (1, 2.1) $$ language sql;
QUERY: create or replace function rngfuncbar(out integer, out numeric) as
$$ select (1, 2) $$ language sql;
QUERY: create or replace function rngfuncbar(out integer, out numeric) as
$$ select (1, 2.1, 3) $$ language sql;
QUERY: drop function rngfuncbar();

rowtypes

QUERY: create temp table quadtable(f1 int, q quad);
QUERY: create temp table people (fn fullname, bd date);
QUERY: create temp table pp (f1 text);
QUERY: insert into pp values (repeat('abcdefghijkl', 100000));
QUERY: select ROW(1,2) < ROW(1,3) as true;
QUERY: select ROW(1,2) < ROW(1,NULL) as null;
QUERY: select ROW(1,2,3) < ROW(1,3,NULL) as true;
QUERY: select ROW(11,'ABC') < ROW(11,'DEF') as true;
QUERY: select ROW(12,'ABC') > ROW(11,'DEF') as true;
QUERY: select ROW(1,2,3) < ROW(1,NULL,4) as null;
QUERY: select ROW(1,2,3) <> ROW(1,NULL,4) as true;
QUERY: select ROW(1,2) = ROW(1,2::int8);
QUERY: select ROW(1,2) in (ROW(3,4), ROW(1,2));
QUERY: select ROW(1,2) in (ROW(3,4), ROW(1,2::int8));
QUERY: select thousand, tenthous from tenk1
where (thousand, tenthous) >= (997, 5000)
order by thousand, tenthous;
QUERY: create temp table test_table (a text, b text);
QUERY: insert into test_table values ('a', 'b');
QUERY: insert into test_table select 'a', null from generate_series(1,1000);
QUERY: insert into test_table values ('b', 'a');
QUERY: create index on test_table (a,b);
QUERY: set enable_sort = off;
QUERY: select a,b from test_table where (a,b) > ('a','a') order by a,b;
QUERY: reset enable_sort;
QUERY: select ROW();
QUERY: select ROW() IS NULL;
QUERY: select array[ row(1,2), row(3,4), row(5,6) ];
QUERY: select row(1,1.1) = any (array[ row(7,7.7), row(1,1.1), row(0,0.0) ]);
QUERY: select row(1,1.1) = any (array[ row(7,7.7), row(1,1.0), row(0,0.0) ]);

Footnotes

  1. These are tests that we're marking as Successful, however they do not match the expected output in some way. This is due to small differences, such as different wording on the error messages, or the column names being incorrect while the data itself is correct.

@jennifersp jennifersp merged commit e919d78 into main Feb 16, 2026
17 checks passed
@jennifersp jennifersp deleted the jennifer/type branch February 16, 2026 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants