Update sample_testing.sql

the #5195 for postgresql related to #5185