Skip to content

amend to gms ver.#2690

Closed
elianddb wants to merge 1 commit intomainfrom
elian/3535
Closed

amend to gms ver.#2690
elianddb wants to merge 1 commit intomainfrom
elian/3535

Conversation

@elianddb
Copy link
Copy Markdown
Contributor

@elianddb elianddb commented May 5, 2026

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

Main PR
covering_index_scan_postgres 1335.02/s 1326.22/s -0.7%
index_join_postgres 202.92/s 200.66/s -1.2%
index_join_scan_postgres 212.27/s 209.64/s -1.3%
index_scan_postgres 12.31/s 12.24/s -0.6%
oltp_point_select 2365.94/s 2365.37/s -0.1%
oltp_read_only 1904.14/s 1906.83/s +0.1%
select_random_points 135.30/s 134.14/s -0.9%
select_random_ranges 1033.86/s 1074.31/s +3.9%
table_scan_postgres 12.06/s 11.92/s -1.2%
types_table_scan_postgres 5.52/s 5.47/s -1.0%

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 5, 2026

Main PR
Total 42090 42090
Successful 18014 17971
Failures 24076 24119
Partial Successes1 5373 5377
Main PR
Successful 42.7988% 42.6966%
Failures 57.2012% 57.3034%

${\color{red}Regressions (47)}$

foreign_key

QUERY:          CREATE TABLE fk_partitioned_fk (a INT REFERENCES fk_notpartitioned_pk(a) PRIMARY KEY) PARTITION BY RANGE(a);
RECEIVED ERROR: duplicate foreign key constraint name `fk_partitioned_fk_a_fkey` (errno 1105) (sqlstate HY000)
QUERY:          INSERT INTO fk_partitioned_fk VALUES (1);
RECEIVED ERROR: table not found: fk_partitioned_fk (errno 1146) (sqlstate HY000)
QUERY:          DROP TABLE fk_notpartitioned_pk, fk_partitioned_fk;
RECEIVED ERROR: table not found: fk_partitioned_fk (errno 1146) (sqlstate HY000)
QUERY:          CREATE TABLE fk_notpartitioned_pk (a int, b int, primary key (a, b));
RECEIVED ERROR: table with name fk_notpartitioned_pk already exists (errno 1105) (sqlstate HY000)
QUERY:          INSERT INTO fk_notpartitioned_pk VALUES (2502, 2503);
RECEIVED ERROR: number of values does not match number of columns provided (errno 1105) (sqlstate HY000)
QUERY:          INSERT INTO fk_notpartitioned_pk VALUES (1, 2);
RECEIVED ERROR: number of values does not match number of columns provided (errno 1105) (sqlstate HY000)
QUERY:          INSERT INTO fk_notpartitioned_pk VALUES (2502, 2503);
RECEIVED ERROR: number of values does not match number of columns provided (errno 1105) (sqlstate HY000)
QUERY:          INSERT INTO fk_notpartitioned_pk VALUES (2501, 142857);
RECEIVED ERROR: number of values does not match number of columns provided (errno 1105) (sqlstate HY000)
QUERY:          DELETE FROM fk_notpartitioned_pk WHERE b = 142857;
RECEIVED ERROR: column "b" could not be found in any table in scope (errno 1105) (sqlstate HY000)
QUERY:          INSERT INTO fk_notpartitioned_pk VALUES (500, 100000), (2501, 100000);
RECEIVED ERROR: number of values does not match number of columns provided (errno 1105) (sqlstate HY000)
QUERY:          DELETE FROM fk_notpartitioned_pk WHERE b = 142857;
RECEIVED ERROR: column "b" could not be found in any table in scope (errno 1105) (sqlstate HY000)
QUERY:          CREATE TABLE fk_partitioned_fk_4 (a int, b int, FOREIGN KEY (a, b) REFERENCES fk_notpartitioned_pk(a, b) ON UPDATE CASCADE ON DELETE CASCADE) PARTITION BY RANGE (b, a);
RECEIVED ERROR: table "fk_notpartitioned_pk" does not have column "b" (errno 1105) (sqlstate HY000)
QUERY:          CREATE TABLE fk_partitioned_fk_4_2 (a int, b int, FOREIGN KEY (a, b) REFERENCES fk_notpartitioned_pk(a, b) ON UPDATE SET NULL);
RECEIVED ERROR: table "fk_notpartitioned_pk" does not have column "b" (errno 1105) (sqlstate HY000)
QUERY:          INSERT INTO fk_notpartitioned_pk VALUES (1600, 601), (1600, 1601);
RECEIVED ERROR: number of values does not match number of columns provided (errno 1105) (sqlstate HY000)

generated

QUERY:          CREATE TABLE gtest23b (a int PRIMARY KEY, b int GENERATED ALWAYS AS (a * 2) STORED REFERENCES gtest23a (x));
RECEIVED ERROR: duplicate foreign key constraint name `gtest23b_b_fkey` (errno 1105) (sqlstate HY000)
QUERY:          CREATE TABLE gtest23q (a int PRIMARY KEY, b int REFERENCES gtest23p (y));
RECEIVED ERROR: duplicate foreign key constraint name `gtest23q_b_fkey` (errno 1105) (sqlstate HY000)

inherit

QUERY:          CREATE TABLE test_foreign_constraints(id1 int REFERENCES test_primary_constraints(id));
RECEIVED ERROR: duplicate foreign key constraint name `test_foreign_constraints_id1_fkey` (errno 1105) (sqlstate HY000)
QUERY:          CREATE TABLE test_foreign_constraints_inh () INHERITS (test_foreign_constraints);
RECEIVED ERROR: table not found: test_foreign_constraints (errno 1146) (sqlstate HY000)
QUERY:          ALTER TABLE test_foreign_constraints DROP CONSTRAINT test_foreign_constraints_id1_fkey;
RECEIVED ERROR: table not found: test_foreign_constraints (errno 1146) (sqlstate HY000)
QUERY:          DROP TABLE test_foreign_constraints_inh;
RECEIVED ERROR: table not found: test_foreign_constraints_inh (errno 1146) (sqlstate HY000)
QUERY:          DROP TABLE test_foreign_constraints;
RECEIVED ERROR: table not found: test_foreign_constraints (errno 1146) (sqlstate HY000)

rowsecurity

QUERY:          CREATE TABLE document (
    did         int primary key,
    cid         int references category(cid),
    dlevel      int not null,
    dauthor     name,
    dtitle      text
);
RECEIVED ERROR: duplicate foreign key constraint name `document_cid_fkey` (errno 1105) (sqlstate HY000)
QUERY:          INSERT INTO document VALUES
    ( 1, 11, 1, 'regress_rls_bob', 'my first novel'),
    ( 2, 11, 2, 'regress_rls_bob', 'my second novel'),
    ( 3, 22, 2, 'regress_rls_bob', 'my science fiction'),
    ( 4, 44, 1, 'regress_rls_bob', 'my first manga'),
    ( 5, 44, 2, 'regress_rls_bob', 'my second manga'),
    ( 6, 22, 1, 'regress_rls_carol', 'great science fiction'),
    ( 7, 33, 2, 'regress_rls_carol', 'great technology book'),
    ( 8, 44, 1, 'regress_rls_carol', 'great manga'),
    ( 9, 22, 1, 'regress_rls_dave', 'awesome science fiction'),
    (10, 33, 2, 'regress_rls_dave', 'awesome technology book');
RECEIVED ERROR: table not found: document (errno 1146) (sqlstate HY000)
QUERY:          INSERT INTO document VALUES (11, 33, 1, current_user, 'hoge');
RECEIVED ERROR: table not found: document (errno 1146) (sqlstate HY000)
QUERY:          SELECT * FROM category;
RECEIVED ERROR: expected row count 4 but received 3
QUERY:          SELECT * FROM category;
RECEIVED ERROR: expected row count 4 but received 3
QUERY:          SELECT * FROM category;
RECEIVED ERROR: expected row count 4 but received 3
QUERY:          SELECT * FROM category;
RECEIVED ERROR: expected row count 4 but received 3
QUERY:          SELECT * FROM category;
RECEIVED ERROR: expected row count 4 but received 3
QUERY:          SELECT * FROM document WHERE did = 2;
RECEIVED ERROR: table not found: document (errno 1146) (sqlstate HY000)
QUERY:          INSERT INTO document VALUES (33, 22, 1, 'regress_rls_bob', 'okay science fiction');
RECEIVED ERROR: table not found: document (errno 1146) (sqlstate HY000)
QUERY:          ALTER TABLE document ADD COLUMN dnotes text DEFAULT '';
RECEIVED ERROR: table not found: document (errno 1146) (sqlstate HY000)
QUERY:          SELECT * FROM document WHERE did = 4;
RECEIVED ERROR: table not found: document (errno 1146) (sqlstate HY000)

select_views

QUERY:          CREATE TABLE credit_card (
       cid      int references customer(cid),
       cnum     text,
       climit   int
);
RECEIVED ERROR: duplicate foreign key constraint name `credit_card_cid_fkey` (errno 1105) (sqlstate HY000)
QUERY:          CREATE TABLE credit_usage (
       cid      int references customer(cid),
       ymd      date,
       usage    int
);
RECEIVED ERROR: duplicate foreign key constraint name `credit_usage_cid_fkey` (errno 1105) (sqlstate HY000)
QUERY:          INSERT INTO credit_card
       VALUES (101, '1111-2222-3333-4444', 4000),
              (102, '5555-6666-7777-8888', 3000),
              (103, '9801-2345-6789-0123', 2000);
RECEIVED ERROR: table not found: credit_card (errno 1146) (sqlstate HY000)
QUERY:          INSERT INTO credit_usage
       VALUES (101, '2011-09-15', 120),
	      (101, '2011-10-05',  90),
	      (101, '2011-10-18', 110),
	      (101, '2011-10-21', 200),
	      (101, '2011-11-10',  80),
	      (102, '2011-09-22', 300),
	      (102, '2011-10-12', 120),
	      (102, '2011-10-28', 200),
	      (103, '2011-10-15', 480);
RECEIVED ERROR: table not found: credit_usage (errno 1146) (sqlstate HY000)
QUERY:          CREATE VIEW my_credit_card_normal AS
       SELECT * FROM customer l NATURAL JOIN credit_card r
       WHERE l.name = current_user;
RECEIVED ERROR: table not found: credit_card (errno 1146) (sqlstate HY000)

triggers

QUERY:          create table trigtest2 (i int references trigtest(i) on delete cascade);
RECEIVED ERROR: duplicate foreign key constraint name `trigtest2_i_fkey` (errno 1105) (sqlstate HY000)
QUERY:          drop table trigtest2;
RECEIVED ERROR: table not found: trigtest2 (errno 1146) (sqlstate HY000)

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

foreign_key

QUERY: CREATE TABLE FKTABLE_FAIL1 (ftest1 int REFERENCES pktable(ptest1));
QUERY: DROP TABLE FKTABLE_FAIL1;

generated

QUERY: CREATE TABLE gtest23x (a int PRIMARY KEY, b int GENERATED ALWAYS AS (a * 2) STORED REFERENCES gtest23a (x) ON UPDATE CASCADE);

rowsecurity

QUERY: INSERT INTO document VALUES (100, 44, 1, 'regress_rls_dave', 'testing sorting of policies');
QUERY: INSERT INTO document VALUES (1, (SELECT cid from category WHERE cname = 'novel'), 1, 'regress_rls_bob', 'my first novel')
    ON CONFLICT (did) DO UPDATE SET dauthor = 'regress_rls_carol';

subselect

QUERY: select count(*) from tenk1 t
where (exists(select 1 from tenk1 k where k.unique1 = t.unique2) or ten < 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.

@elianddb elianddb closed this May 6, 2026
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.

1 participant