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 12.7 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.3.1 20191121 (Red Hat 8.3.1-5), 64-bit
date_part
1620976920
13 rows affected
id oi url epok txn_id
1 1 https://www.url.ie 1620976920 null
2 1 https://www.url.ie 1620890520 null
3 1 https://www.url.ie 1620800520 null
4 2 https://www.url.ie 1620714120 null
5 2 https://www.url.ie 1620624120 null
6 2 https://www.url.ie 1620537720 null
7 3 https://www.url.ie 1620447720 null
8 3 https://www.url.ie 1620361320 null
9 3 https://www.url.ie 1620271320 null
10 4 https://www.url.ie 1599688812 null
11 4 https://www.url.ie 1599685223 null
12 4 https://www.url.ie 1599681633 null
13 5 https://www.url.ie 1599678059 null
?column?
29311.514487028122
115711.51448702812
205711.51448702812
292111.5144870281
382111.5144870281
468511.5144870281
558511.5144870281
644911.5144870281
734911.5144870281
21317419.514487028
21321008.514487028
21324598.514487028
21328172.514487028
id
10
11
12
13
id
10
11
12
13
id oi url epok txn_id
10 4 https://www.url.ie 1599688812 null
11 4 https://www.url.ie 1599685223 null
12 4 https://www.url.ie 1599681633 null
13 5 https://www.url.ie 1599678059 null
4 rows affected
ERROR:  syntax error at or near "INTO"
LINE 4:   INSERT INTO t_archiv
                 ^

ERROR:  syntax error at or near "INSERT"
LINE 4:   INSERT INTO t_archiv
          ^

id oi url epok txn_id
1 1 https://www.url.ie 1620976920 null
2 1 https://www.url.ie 1620890520 null
3 1 https://www.url.ie 1620800520 null
4 2 https://www.url.ie 1620714120 null
5 2 https://www.url.ie 1620624120 null
6 2 https://www.url.ie 1620537720 null
7 3 https://www.url.ie 1620447720 null
8 3 https://www.url.ie 1620361320 null
9 3 https://www.url.ie 1620271320 null
10 4 https://www.url.ie 1599688812 null
11 4 https://www.url.ie 1599685223 null
12 4 https://www.url.ie 1599681633 null
13 5 https://www.url.ie 1599678059 null
ERROR:  syntax error at or near "INTO"
LINE 4:   INSERT INTO t_archiv
                 ^

ERROR:  syntax error at or near "INTO"
LINE 6:   INSERT INTO t_archiv
                 ^

ERROR:  syntax error at or near "INTO"
LINE 3:   INSERT INTO t_archiv
                 ^