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

Added a method and validation for PostgreSQL 8.* compatibility #151

Closed
wants to merge 2 commits into from

Conversation

darit
Copy link

@darit darit commented Sep 12, 2013

Added a method and validation for PostgreSQL 8.* compatibility using the same fields and values from the last insert as filters. PostgreSQL 8.* doesn't have a RETURNING keyword.
The validation checks the current server version so we can skip this fix if we're using PostgreSQL 9+.

Added a method and validation for PostgreSQL 8.* compatibility using the same fields and values from the last insert as filters. PostgreSQL 8.* doesn't have a RETURNING keyword.
The validation checks the current server version so we can skip this fix if we're using PostgreSQL 9+.
@treffynnon
Copy link
Collaborator

This feature has been discussed at length previously and a decision was taken to only support RETURNING as this is the only neat and sensible way of handling this.

RETURNING has existed since PostgresSQL 8.2 so please consider upgrading your DB a point release or two instead.

Please see the discussion at #89 and #62 for more information on this decision.

Unfortunately for reasons already mentioned I will not be merging this pull request. Thank you for taking the time to prepare it and for your interest in Idiorm.

@treffynnon treffynnon closed this Sep 13, 2013
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.

2 participants