contrib/pg_prewarm/expected/pg_prewarm.out
raw| 1 | -- Test pg_prewarm extension |
| 2 | CREATE EXTENSION pg_prewarm; |
| 3 | -- pg_prewarm() should fail if the target relation has no storage. |
| 4 | CREATE TABLE test (c1 int) PARTITION BY RANGE (c1); |
| 5 | SELECT pg_prewarm('test', 'buffer'); |
| 6 | ERROR: relation "test" does not have storage |
| 7 | DETAIL: This operation is not supported for partitioned tables. |
| 8 | -- Cleanup |
| 9 | DROP TABLE test; |
| 10 | DROP EXTENSION pg_prewarm; |