Skip to content

Commit 1558caa

Browse files
committed
Postgres, fix quote_column_name definition, fixes many tests
1 parent a46bc66 commit 1558caa

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

lib/arjdbc/postgresql/adapter.rb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -866,9 +866,12 @@ class PostgreSQLAdapter < AbstractAdapter
866866
include ArJdbc::Abstract::DatabaseStatements
867867
include ArJdbc::Abstract::StatementCache
868868
include ArJdbc::Abstract::TransactionSupport
869-
include ArJdbc::PostgreSQL
870869
include ArJdbc::PostgreSQLConfig
871870

871+
# NOTE: after AR refactor quote_column_name became class and instance method
872+
include ArJdbc::PostgreSQL
873+
extend ArJdbc::PostgreSQL
874+
872875
require 'arjdbc/postgresql/oid_types'
873876
include ::ArJdbc::PostgreSQL::OIDTypes
874877
include ::ArJdbc::PostgreSQL::DatabaseStatements

0 commit comments

Comments
 (0)