better make sure the sort order is totally specified; else we get burnt
by platform-specific behavior of qsort() with equal keys. Per buildfarm
results.
--
SELECT '' AS "xxx", *
FROM J1_TBL LEFT OUTER JOIN J2_TBL USING (i)
- ORDER BY i, k;
+ ORDER BY i, k, t;
xxx | i | j | t | k
-----+---+---+-------+----
| 0 | | zero |
SELECT '' AS "xxx", *
FROM J1_TBL LEFT JOIN J2_TBL USING (i)
- ORDER BY i, k;
+ ORDER BY i, k, t;
xxx | i | j | t | k
-----+---+---+-------+----
| 0 | | zero |
SELECT '' AS "xxx", *
FROM J1_TBL FULL OUTER JOIN J2_TBL USING (i)
- ORDER BY i, k;
+ ORDER BY i, k, t;
xxx | i | j | t | k
-----+---+---+-------+----
| 0 | | zero |
SELECT '' AS "xxx", *
FROM J1_TBL FULL JOIN J2_TBL USING (i)
- ORDER BY i, k;
+ ORDER BY i, k, t;
xxx | i | j | t | k
-----+---+---+-------+----
| 0 | | zero |
SELECT '' AS "xxx", *
FROM J1_TBL LEFT OUTER JOIN J2_TBL USING (i)
- ORDER BY i, k;
+ ORDER BY i, k, t;
SELECT '' AS "xxx", *
FROM J1_TBL LEFT JOIN J2_TBL USING (i)
- ORDER BY i, k;
+ ORDER BY i, k, t;
SELECT '' AS "xxx", *
FROM J1_TBL RIGHT OUTER JOIN J2_TBL USING (i);
SELECT '' AS "xxx", *
FROM J1_TBL FULL OUTER JOIN J2_TBL USING (i)
- ORDER BY i, k;
+ ORDER BY i, k, t;
SELECT '' AS "xxx", *
FROM J1_TBL FULL JOIN J2_TBL USING (i)
- ORDER BY i, k;
+ ORDER BY i, k, t;
SELECT '' AS "xxx", *
FROM J1_TBL LEFT JOIN J2_TBL USING (i) WHERE (k = 1);