New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Enable uuid feature #103
Enable uuid feature #103
Conversation
@@ -25,7 +26,7 @@ def connect(self, **kwargs): | |||
cur = yield from conn.cursor() | |||
yield from cur.execute("DROP TABLE IF EXISTS tbl") | |||
yield from cur.execute("""CREATE TABLE tbl ( | |||
id SERIAL, | |||
id UUID, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be better to have separate test for UUID extension?
Looks good but I have couple questions:
|
|
Looks good to me, @asvetlov any objections to merge this PR? |
To my experience, uuid isn't built-in: at least with postgresql 9.4 on Debian, you need to install postgresql-contrib and enable extension uuid-ossp. |
uuid-ossp is for generation UUID via PostgreSQL server. |
@hellysmile thanks for the info. |
Perfect! |
No description provided.