test(postgres/instance): fix sql matched against