Skip to content

Instantly share code, notes, and snippets.

@qdw
Created November 4, 2015 19:26
Show Gist options
  • Save qdw/ca0257d3329d24068e0a to your computer and use it in GitHub Desktop.
Save qdw/ca0257d3329d24068e0a to your computer and use it in GitHub Desktop.
CREATE TABLE foo (a int);
INSERT INTO foo (a) VALUES (1),(1);
CREATE UNIQUE INDEX CONCURRENTLY ON foo(a);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment