Skip to content
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

PostgreSQL: Fix all test cases #60

Merged
merged 2 commits into from Aug 31, 2015
Merged

PostgreSQL: Fix all test cases #60

merged 2 commits into from Aug 31, 2015

Conversation

tindzk
Copy link
Collaborator

@tindzk tindzk commented Aug 30, 2015

No description provided.

@@ -106,7 +106,7 @@ abstract class SQLDatastore protected() extends Datastore with BasicDDLSupport {
val resultSet = session.executeInsert(insertString, columnValues)
try {
if (resultSet.next()) {
resultSet.getInt(1)
resultSet.getInt(1) // TODO This restricts the PKs on PostgreSQL to integers
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Doesn't this technically restrict PKs on all implementations to integers?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should, but only PostgreSQL throws an exception, much to my surprise.

darkfrog26 added a commit that referenced this pull request Aug 31, 2015
PostgreSQL: Fix all test cases
@darkfrog26 darkfrog26 merged commit 1d11f61 into outr:master Aug 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants