<p>this is a proposed fix for <a href="https://rt.cpan.org/Public/Bug/Display.html?id=108017">https://rt.cpan.org/Public/Bug/Display.html?id=108017</a>, $dbh-&gt;quote_identifiers() should take care of 'bad' column and table names. Unfortunately I don't have a Postgres-Database available so I created just a general testcase at <a href="https://gist.github.com/hatorikibble/6b3d937cd447f617f9a0">https://gist.github.com/hatorikibble/6b3d937cd447f617f9a0</a></p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>&nbsp;&nbsp;<a href='https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/8'>https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/8</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>use quote_identifiers for problematic column names</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/8/files#diff-0">lib/DBIx/Class/Fixtures.pm</a>
    (8)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/8.patch'>https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/8.patch</a></li>
  <li><a href='https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/8.diff'>https://github.com/dbsrgits/DBIx-Class-Fixtures/pull/8.diff</a></li>
</ul>

<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/DBIx-Class-Fixtures/pull/8">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AASeAosmrWxHUg1wOGWN7kEf7HMWDy9pks5pLKlzgaJpZM4Grvz0.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/DBIx-Class-Fixtures/pull/8"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>