Skip to content
Browse files

Merge pull request #8416 from kennyj/redundant_pg_namespace

pg_namespace table isn't used.
  • Loading branch information...
2 parents 2259893 + d3f4625 commit 042f5eb2296ae735bd2b6cacb37b83e115a4343d @rafaelfranca rafaelfranca committed
1 activerecord/lib/active_record/connection_adapters/postgresql/schema_statements.rb
@@ -267,7 +267,6 @@ def pk_and_sequence_for(table) #:nodoc:
FROM pg_class seq,
pg_attribute attr,
pg_depend dep,
- pg_namespace name,
pg_constraint cons
WHERE seq.oid = dep.objid
AND seq.relkind = 'S'

0 comments on commit 042f5eb

Please sign in to comment.
Something went wrong with that request. Please try again.