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 13.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.4.1 20200928 (Red Hat 8.4.1-1), 64-bit |
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
a | b | c |
---|---|---|
|3|3| some stuff here | 3 | 3 |
|SE + 18.5D some other stuff | null | null |
|54|45| yet more stuff | 54 | 45 |
|32|23| yet more |78|78| stuff | 32 | 23 |
|This is more text |11|111|22222||| and stuff ||||||| | null | null |
This is more text |11|111|22222||| and stuff ||||||| | null | null |
substring | substring |
---|---|
3 | 3 |
null | null |
54 | 45 |
32 | 23 |
null | null |
null | null |
string_to_array | array_to_string | a |
---|---|---|
{"",3,3," some stuff here"} | 3|3 | |3|3| some stuff here |
{"","SE + 18.5D some other stuff"} | SE + 18.5D some other stuff | |SE + 18.5D some other stuff |
{"",54,45," yet more stuff"} | 54|45 | |54|45| yet more stuff |
{"",32,23," yet more ",78,78," stuff"} | 32|23 | |32|23| yet more |78|78| stuff |
{"","This is more text ",11,111,22222,"",""," and stuff ","","","","","","",""} | This is more text |11 | |This is more text |11|111|22222||| and stuff ||||||| |
{"This is more text ",11,111,22222,"",""," and stuff ","","","","","","",""} | 11|111 | This is more text |11|111|22222||| and stuff ||||||| |
a | f1 | f2 |
---|---|---|
|3|3| some stuff here | 3 | 3 |
|SE + 18.5D some other stuff | null | null |
|54|45| yet more stuff | 54 | 45 |
|32|23| yet more |78|78| stuff | 32 | 23 |
|This is more text |11|111|22222||| and stuff ||||||| | null | 11 |
This is more text |11|111|22222||| and stuff ||||||| | 11 | 111 |
a | n1 | n2 |
---|---|---|
|3|3| some stuff here | 3 | 3 |
|SE + 18.5D some other stuff | null | null |
|54|45| yet more stuff | 54 | 45 |
|32|23| yet more |78|78| stuff | 32 | 23 |
|This is more text |11|111|22222||| and stuff ||||||| | null | null |
This is more text |11|111|22222||| and stuff ||||||| | null | null |