mirror of
https://github.com/HypoPG/hypopg
synced 2026-05-24 09:38:21 +00:00
Add regression test for expression indexes.
This has already been broken twice, make sure it won't happen again.
This commit is contained in:
parent
2225e71e22
commit
022ac3396e
2 changed files with 10 additions and 0 deletions
|
|
@ -139,3 +139,10 @@ SELECT hypopg_reset();
|
|||
|
||||
(1 row)
|
||||
|
||||
-- indexes on expression are not handle
|
||||
SELECT hypopg_create_index('CREATE INDEX ON hypo (md5(val))');
|
||||
WARNING: hypopg: hypothetical indexes on expression are not supported yet
|
||||
hypopg_create_index
|
||||
---------------------
|
||||
(0 rows)
|
||||
|
||||
|
|
|
|||
|
|
@ -89,3 +89,6 @@ SELECT hypopg_drop_index(indexrelid) FROM hypopg() ORDER BY indexrelid LIMIT 1;
|
|||
|
||||
-- Remove all the hypothetical indexes
|
||||
SELECT hypopg_reset();
|
||||
|
||||
-- indexes on expression are not handle
|
||||
SELECT hypopg_create_index('CREATE INDEX ON hypo (md5(val))');
|
||||
|
|
|
|||
Loading…
Reference in a new issue