add batch remove batch split batch comment selection show hidden batches hide batch highlight batch
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
version
PostgreSQL 14.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4), 64-bit
6 rows affected
ln
LINESTRING ( 1.0 2.0, 3 4)
LINESTRING M ( 1 2 3, 4 5 6.0)
LINESTRING ( 1 2, 3 4, 5 6)
LINESTRING M ( 1 2 3, 4 5 6.0, 7 8.00 9.0)
LINESTRING M ( 1 2 3.0, 4 5 6)
MULTILINESTRING M (( 1 2 3, 4 5 6),( 7 8 9, 10 11 12.0))
sp
1.0 2.0
3 4
1 2 3
4 5 6.0
1 2
3 4
5 6
1 2 3
4 5 6.0
7 8.00 9.0
1 2 3.0
4 5 6
1 2 3
4 5 6
7 8 9
10 11 12.0
ERROR:  syntax error at or near "WITH"
LINE 18:   UNNEST(STRING_TO_ARRAY(x.sp, ' ')) WITH ORDINALITY a(elem,...
                                              ^