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?.
11 rows affected
x | y |
---|---|
{10} | {} |
{6} | {400000} |
{4,5,6} | {} |
{5,6} | {} |
{7,8} | {11} |
{11} | {5,6,7} |
{11} | {8} |
{9,10} | {6} |
{11} | {400000} |
{9,10} | {400000} |
{9,10} | {400000} |
x | y |
---|---|
{10} | {} |
{6} | {10,5,4,6,11,9,8,7} |
{4,5,6} | {} |
{5,6} | {} |
{7,8} | {11} |
{11} | {5,6,7} |
{11} | {8} |
{9,10} | {6} |
{11} | {10,5,4,6,11,9,8,7} |
{9,10} | {10,5,4,6,11,9,8,7} |
{9,10} | {10,5,4,6,11,9,8,7} |
array |
---|
{5} |
x | y |
---|---|
{10} | {} |
{6} | {5} |
{4,5,6} | {} |
{5,6} | {} |
{7,8} | {11} |
{11} | {5,6,7} |
{11} | {8} |
{9,10} | {6} |
{11} | {5} |
{9,10} | {5} |
{9,10} | {5} |
x | y |
---|---|
{10} | {} |
{6} | {5} |
{4,5,6} | {} |
{5,6} | {} |
{7,8} | {11} |
{11} | {5,6,7} |
{11} | {8} |
{9,10} | {6} |
{11} | {5,10,133,8} |
{9,10} | {6,4,8,5,11} |
{9,10} | {6,4,8,5,11} |
rnf | x | old_y | y |
---|---|---|---|
1 | {10} | {10} | {} |
2 | {6} | {5,6} | {5} |
3 | {4,5,6} | {5,6} | {} |
4 | {5,6} | {5,6} | {} |
5 | {7,8} | {11} | {11} |
6 | {11} | {5,6,7} | {5,6,7} |
7 | {11} | {8} | {8} |
8 | {9,10} | {6} | {6} |
9 | {11} | {5,8,10,11,133} | {5,10,133,8} |
10 | {9,10} | {4,5,6,8,9,10,11} | {6,4,8,5,11} |
11 | {9,10} | {4,5,6,8,9,10,11} | {6,4,8,5,11} |
ERROR: relation "job" does not exist
LINE 5: UPDATE job
^
x | y |
---|---|
{10} | {10} |
{6} | {5,6} |
{4,5,6} | {5,6} |
{5,6} | {5,6} |
{7,8} | {11} |
{11} | {5,6,7} |
{11} | {8} |
{9,10} | {6} |
{11} | {5,8,10,11,133} |
{9,10} | {4,5,6,8,9,10,11} |
{9,10} | {4,5,6,8,9,10,11} |