By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
CREATE TABLE
INSERT 0 1100
ERROR: unterminated quoted string at or near "'SELECT generate_series(1,5)$$ -- more? ) AS ct (row_name int, localt timestamp, entity int , msrmnt01 float8, msrmnt02 float8, msrmnt03 float8, msrmnt04 float8, msrmnt05 float8 -- , more? ) LIMIT 15;" LINE 9: , 'SELECT generate_series(1,5)$$ -- more? ^
| QUERY PLAN |
|---|
| Limit (cost=0.00..0.15 rows=15 width=52) (actual time=10.958..10.962 rows=15 loops=1) |
| -> Function Scan on crosstab ct (cost=0.00..10.00 rows=1000 width=52) (actual time=10.951..10.953 rows=15 loops=1) |
| Planning Time: 0.049 ms |
| Execution Time: 21.122 ms |
EXPLAIN