<p></p>
<pre class="notranslate"><code class="notranslate"> @rabbiveesh As you design that, an interesting unit test for postgres to really test the boundaries would be
</code></pre>
<pre class="notranslate"><code class="notranslate">create table test (name varchar(50) not null);
create index ix_test2 on test (substr(name, 2, 3) desc, substr(name, 5, 3) asc);
</code></pre>
<p dir="auto">:-)</p>
<p dir="auto"><em>Originally posted by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nrdvana/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nrdvana">@nrdvana</a> in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="104474801" data-permission-text="Title is private" data-url="https://github.com/dbsrgits/sql-translator/issues/68" data-hovercard-type="pull_request" data-hovercard-url="/dbsrgits/sql-translator/pull/68/hovercard?comment_id=1601575733&comment_type=issue_comment" href="https://github.com/dbsrgits/sql-translator/pull/68#issuecomment-1601575733">#68 (comment)</a></em></p>
<p dir="auto">There are a few more comments in that PR's discussion. (will past them back here).</p>
<p dir="auto">Another thought - when parsing the fields, sqlt <strong>helpfully</strong> splits strings on commas. So we're actually going to have to only support that via a hashref arg (as mentioned there)</p>
<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/dbsrgits/sql-translator/issues/159">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AACJ4AX2V44QUZFDAANCRT3XMNNKRANCNFSM6AAAAAAZPJD7LQ">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AACJ4AS67HWXWAZMCD4UIZ3XMNNKRA5CNFSM6AAAAAAZPJD7LSWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHGS2FESQ.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><dbsrgits/sql-translator/issues/159</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/dbsrgits/sql-translator/issues/159",
"url": "https://github.com/dbsrgits/sql-translator/issues/159",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>