Module | RR::ConnectionExtenders::PostgreSQLExtender |
In: |
lib/rubyrep/connection_extenders/postgresql_extender.rb
|
Provides various PostgreSQL specific functionality required by Rubyrep.
Disables schema extraction from table names by overwriting the according ActiveRecord method. Necessary to support table names containing dots ("."). (This is possible as rubyrep exclusively uses the search_path setting to support PostgreSQL schemas.)
*** Monkey patch*** Returns the list of all tables in the schema search path or a specified schema. This overwrites the according ActiveRecord::PostgreSQLAdapter method to make sure that also search paths with spaces work (E. g. ‘public, rr’ instead of only ‘public,rr’)