From 92f8026cbb293ccd08ef335fa69f22cd5e8802d9 Mon Sep 17 00:00:00 2001 From: Oliver Rice Date: Wed, 21 Aug 2024 11:20:59 -0500 Subject: [PATCH] add hypopg tests --- nix/tests/expected/hypopg.out | 14 ++++++++++++++ nix/tests/sql/hypopg.sql | 13 +++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 nix/tests/expected/hypopg.out create mode 100644 nix/tests/sql/hypopg.sql diff --git a/nix/tests/expected/hypopg.out b/nix/tests/expected/hypopg.out new file mode 100644 index 000000000..35c8a5b2d --- /dev/null +++ b/nix/tests/expected/hypopg.out @@ -0,0 +1,14 @@ +create schema v; +create table v.samp( + id int +); +select 1 from hypopg_create_index($$ + create index on v.samp(id) +$$); + ?column? +---------- + 1 +(1 row) + +drop schema v cascade; +NOTICE: drop cascades to table v.samp diff --git a/nix/tests/sql/hypopg.sql b/nix/tests/sql/hypopg.sql new file mode 100644 index 000000000..6aabb6950 --- /dev/null +++ b/nix/tests/sql/hypopg.sql @@ -0,0 +1,13 @@ +create schema v; + +create table v.samp( + id int +); + +select 1 from hypopg_create_index($$ + create index on v.samp(id) +$$); + +drop schema v cascade; + +