<p>The PostgreSQL producer works with array types, however, the parser does not seem to. Running the following snippet will not produce any output:</p>
<p>use SQL::Translator;<br>
my $sql = <
CREATE TABLE "test" (<br>
"array" text[] NOT NULL<br>
);<br>
END<br>
my $t = SQL::Translator->new;<br>
$t->parser('PostgreSQL');<br>
$t->producer('PostgreSQL');<br>
print $t->translate( { data => $sql } ) or die $t->error;</p>
<p>If I remove the brackets, it works. Running version '0.11020'<br>
Thanks.</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/dbsrgits/sql-translator/issues/49">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAntWEEHpLh8eF2TUl89AwzTMfw78ks5nl4kEgaJpZM4DXv0Q.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="url" href="https://github.com/dbsrgits/sql-translator/issues/49"></link>
<meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>