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?.
2 rows affected
3 rows affected
3 rows affected
id d
1 null
2 2020-12-02
f_empty_text_to_null
0
id d
1 null
2 2020-12-02
id txt
1
2 null
3 foo
f_empty_text_to_null
1
id txt
1 null
2 null
3 foo
id txt1 txt2 txt3 txt4
1                  
2 null foo bar
3 foo bar                  
f_empty_text_to_null
3
id txt1 txt2 txt3 txt4
1 null null null                  
2 null foo null bar
3 foo null bar