| 1 |
-- Test pg_prewarm extension |
| 2 |
CREATE EXTENSION pg_prewarm; |
| 3 |
|
| 4 |
-- pg_prewarm() should fail if the target relation has no storage. |
| 5 |
CREATE TABLE test (c1 int) PARTITION BY RANGE (c1); |
| 6 |
SELECT pg_prewarm('test', 'buffer'); |
| 7 |
|
| 8 |
-- Cleanup |
| 9 |
DROP TABLE test; |
| 10 |
DROP EXTENSION pg_prewarm; |