TRUNCATE statement with RESTART IDENTITY clause is not supported in this
release. Error out when TRUNCATE with RESTART IDENTITY is specified. Alternate
expected output is updated with error message and consequences of the same.
Original patch by Nikhil Sontakke.
Fix for test case combocid.sql.
The relation being used for the test is distributed by replication
so that the test produces consistent output on all configurations.
Fix for test case plpgsql.sql
1. Some order by clauses were added to make sure test cases produces
   consistent results.
2. By mistake expected output of some tests was wrong, corected that too.
If there an unshippable expression in the targetlist of the inner relation (the
side which contributes NULL columns for the unmatched columns) of an OUTER join,
the unshippable expression gets projected at the coordinator. At the time of
projection, it's not possible to judge which side of the join expression comes
from and whether it should be NULL (in case of unmatched row) or non-NULL (in
case of matched row). Hence in such cases, join should not be shippable. That
way, the join will be evaluated at the coordinator and NULL or non-NULL values
will be projected based on the join quals.
Fix for test case copy2.sql
Test was failing because of some missing order by clauses.
Also some changes were done to make sure that the alternate expected output
comes closer to the expected output.
Still there are some changes between the two that need to be taken care of.
The changes are because FOR EACH ROW triggers are not fired on coordinators
and there is some missing quotes issue as well.
Once these issues are resolved the alternate expected output file can be removed.
Fix for test case xc_copy

The intention of the test case is to make sure that
quoted table names work fine in COPY FROM.
This test can be performed with a single data row in the table
to make sure that the results are consistent on all
cluster configurations.
Fix for test case xc_returning

The tables should be created on a well defined set of nodes
to make sure that ctid returning test cases return
consistent output on all cluster configurations.