<p>In t/postgresql-rename-table-and-field.t:</p>
<pre style='color:#555'>&gt; @@ -0,0 +1,77 @@
&gt; +#!/usr/bin/env perl
&gt; +
&gt; +use strict;
&gt; +use warnings;
&gt; +
&gt; +use Test::More;
&gt; +use Test::Exception;
&gt; +use DBI;
&gt; +use SQL::Translator;
&gt; +use SQL::Translator::Parser::PostgreSQL;
&gt; +use SQL::Translator::Diff;
&gt; +
&gt; +eval &quot;use DBD::Pg&quot;;
&gt; +plan skip_all =&gt; &quot;DBD::Pg required&quot; if $@;
</pre>
<p>Use Test::SQL::Translator::maybe_plan() instead of hand-rolling this.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/dbsrgits/sql-translator/pull/44/files#r16598701">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/302594__eyJzY29wZSI6Ik5ld3NpZXM6QmVhY29uIiwiZXhwaXJlcyI6MTcyNDMzNTExNywiZGF0YSI6eyJpZCI6NDAzODg2NjF9fQ==--43662997aa38468e66b43b1e958215d896b8a6d0.gif" width="1" /></p>