Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@Emill
Copy link
Contributor

@Emill Emill commented Aug 5, 2014

Fixes #233.

Instead of running

INSERT INTO "dbo"."Test"() VALUES () RETURNING "Id"

which results in parse error, run this instead:

INSERT INTO "dbo"."Test" DEFAULT VALUES RETURNING "Id"

which corresponds to the syntax at http://www.postgresql.org/docs/9.3/static/sql-insert.html.

@Emill
Copy link
Contributor Author

Emill commented Aug 5, 2014

This fix should be included in 2.2.

Emill added a commit that referenced this pull request Aug 5, 2014
EF: Fix INSERT INTO with no specified column values, by using DEFAULT VALUES.
@Emill Emill merged commit 580731d into npgsql:master Aug 5, 2014
@franciscojunior
Copy link
Member

Em 05/08/2014 19:55, "Emill" notifications@github.com escreveu:

This fix should be included in 2.2.

I'm on it!


Reply to this email directly or view it on GitHub.

@Emill Emill added bug labels Aug 5, 2014
@Emill Emill added this to the 2.2 milestone Aug 5, 2014
Emill added a commit that referenced this pull request Aug 6, 2014
… VALUES.

(cherry picked from commit e6c6bf6)

Backport #310 from master
@franciscojunior
Copy link
Member

This fix should be included in 2.2.

Done.

@roji
Copy link
Member

roji commented Aug 6, 2014

@franciscojunior, we have confirmation from the user that the fix is good. I think we can release 2.2 with this even if we don't do another rc...

@franciscojunior
Copy link
Member

@franciscojunior, we have confirmation from the user that the fix is good. I think we can release 2.2 with this even if we don't do another rc...

Sure!
+1

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.

3 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.