Skip to content

Commit

Permalink
Fix Dataset#supports_lateral_subqueries? on PostgreSQL <9.3
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Aug 22, 2013
1 parent 430811c commit b564ea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/sequel/adapters/shared/postgres.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1238,9 +1238,9 @@ def supports_distinct_on?
true
end

# PostgreSQL supports lateral subqueries
# PostgreSQL 9.3rc1+ supports lateral subqueries
def supports_lateral_subqueries?
true
server_version >= 90300
end

# PostgreSQL supports modifying joined datasets
Expand Down

0 comments on commit b564ea0

Please sign in to comment.