<div dir="ltr">Hey Andrew,<div><br></div><div>Thanks for slogging through this.  As you noticed, our postgres support is currently broken.  Apparently our automated nightly test of this configuration was stuck on an old commit.  I'm working on restoring postgres support now.  I'll send a follow-up email here when the release branch is back in good shape.</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Feb 25, 2016 at 1:36 AM, Andrew Maclean <span dir="ltr"><<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Looking at the documentation in: <a href="http://www.postgresql.org/docs/9.0/static/ddl-constraints.html" target="_blank">http://www.postgresql.org/docs/9.0/static/ddl-constraints.html</a><br></div><div>It seems that "<span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">Adding a unique constraint will automatically create a unique btree index on the column or group of columns used in the constraint." so that line is not needed in Postgresql.</span></div></div></blockquote><div><br></div><div>Thanks for the tip!</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">Is this a safe thing to do?</span><br></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">When you read on there is this paragraph:</span></div><div><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">"</span><span style="color:rgb(0,0,0);font-family:verdana,sans-serif;font-size:12.16px;line-height:18.24px">In general, a unique constraint is violated when there is more than one row in the table where the values of all of the columns included in the constraint are equal. However, two null values are not considered equal in this comparison. That means even in the presence of a unique constraint it is possible to store duplicate rows that contain a null value in at least one of the constrained columns. This behavior conforms to the SQL standard, but we have heard that other SQL databases might not follow this rule. So be careful when developing applications that are intended to be portable."</span></div></div></blockquote><div><br></div><div>The uuid field is setup to be NOT NULL, so hopefully this gotcha won't impact our particular use of the unique constraint.</div></div></div></div>