Module: PgSaurus::ConnectionAdapters::PostgreSQLAdapter

Extended by:
ActiveSupport::Autoload, ActiveSupport::Concern
Includes:
CommentMethods, ExtensionMethods, ForeignKeyMethods, FunctionMethods, IndexMethods, SchemaMethods, TranslateException, TriggerMethods, ViewMethods
Defined in:
lib/pg_saurus/connection_adapters/postgresql_adapter.rb

Overview

Provides methods to extend ActiveRecord::ConnectionAdapters::PostgreSQLAdapter to support pg_saurus features.

Defined Under Namespace

Modules: CommentMethods, ExtensionMethods, ForeignKeyMethods, FunctionMethods, IndexMethods, SchemaMethods, TranslateException, TriggerMethods, ViewMethods

Constant Summary

Constants included from FunctionMethods

FunctionMethods::FUNCTION_PARSE_REGEXP

Constants included from TranslateException

TranslateException::INSUFFICIENT_PRIVILEGE

Constants included from ExtensionMethods

ExtensionMethods::AVAILABLE_DROP_MODES, ExtensionMethods::CREATE_EXTENSION_DEFAULTS, ExtensionMethods::DROP_EXTENSION_DEFAULTS

Method Summary

Methods included from TriggerMethods

#create_trigger, #remove_trigger, #supports_triggers?, #triggers

Methods included from FunctionMethods

#create_function, #drop_function, #functions, #supports_functions?

Methods included from ViewMethods

#create_view, #drop_view

Methods included from TranslateException

#translate_exception

Methods included from IndexMethods

#index_name, #supports_partial_index?

Methods included from ForeignKeyMethods

#add_foreign_key, #drop_table, #foreign_key_column_for, #foreign_keys, #remove_foreign_key

Methods included from CommentMethods

#comments, #index_comments, #remove_column_comment, #remove_column_comments, #remove_index_comment, #remove_table_comment, #set_column_comment, #set_column_comments, #set_index_comment, #set_table_comment, #supports_comments?

Methods included from SchemaMethods

#create_schema_if_not_exists, #current_schema_search_path, #drop_schema_if_exists, #drop_table, #in_schema, #move_table_to_schema, #rename_table, #tables

Methods included from ExtensionMethods

#create_extension, #drop_extension, #enable_extension, #pg_extensions, #supports_extensions?