Skip to content

Commit 2619b79

Browse files
oliricedarora
authored andcommitted
add hypopg tests
1 parent 6866b48 commit 2619b79

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

nix/tests/expected/hypopg.out

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
create schema v;
2+
create table v.samp(
3+
id int
4+
);
5+
select 1 from hypopg_create_index($$
6+
create index on v.samp(id)
7+
$$);
8+
?column?
9+
----------
10+
1
11+
(1 row)
12+
13+
drop schema v cascade;
14+
NOTICE: drop cascades to table v.samp

nix/tests/sql/hypopg.sql

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
create schema v;
2+
3+
create table v.samp(
4+
id int
5+
);
6+
7+
select 1 from hypopg_create_index($$
8+
create index on v.samp(id)
9+
$$);
10+
11+
drop schema v cascade;
12+
13+

0 commit comments

Comments
 (0)