Make sure assertion passes for postgresql.

Similar to #L191, otherwise the test will sometimes fail in postgresql because `SHOW max_identifier_length` query is executed.

cc @senny
my bad. Looks reasonable.