rails/activerecord/test/cases/adapters/postgresql
eileencodes 112977cbed Support cursors on readonly queries
This adds `:declare`, `:fetch`, `:move`, and `:close` to allowed queries
when `while_preventing_writes` is set. I didn't support `:open` because
AFAICT `:declar` implcitly opens a cursor and all of my attempts to
write `@connection.execute("OPEN cur_ex")` threw a syntax error on
`OPEN`. It seems like open isn't supported with the client.

Fixes: #37960
2019-12-19 15:43:23 -05:00
..
active_schema_test.rb Allow bulk alter to drop and recreate named index 2019-09-10 00:26:14 +01:00
array_test.rb Fix type casting column default in change_column 2019-01-20 11:09:00 +09:00
bit_string_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
bytea_test.rb Raise ArgumentError for invalid :limit and :precision like as other options 2019-04-07 16:14:42 +09:00
case_insensitive_test.rb Fix test_case_insensitiveness to follow up eb5fef5 2019-01-11 18:45:56 +09:00
change_schema_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
cidr_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
citext_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
collation_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
composite_test.rb Use squiggly heredoc to strip odd indentation in the executed SQL 2018-11-22 19:43:53 +09:00
connection_test.rb Deprecate connection_config 2019-12-17 12:20:37 -05:00
create_unlogged_tables_test.rb Add support for UNLOGGED Postgresql tables 2018-11-13 09:37:20 -05:00
datatype_test.rb Raise ArgumentError for invalid :limit and :precision like as other options 2019-04-07 16:14:42 +09:00
date_test.rb PostgreSQL: Allow BC dates like datetime consistently 2018-02-23 11:15:00 +09:00
domain_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
enum_test.rb Use squiggly heredoc to strip odd indentation in the executed SQL 2018-11-22 19:43:53 +09:00
explain_test.rb Change tests to use models which don't ignore any columns 2017-11-13 17:41:41 -02:00
extension_migration_test.rb Ensure to reset actually used @connection.schema_migration's table name 2019-06-15 08:04:18 +09:00
foreign_table_test.rb Rename a test method to not conflict with a deprecated method 2019-12-17 12:35:15 -05:00
full_text_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
geometric_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
hstore_test.rb Add dirty methods for store accessors 2019-03-25 18:49:44 -04:00
infinity_test.rb Enable Style/RedundantBegin cop to avoid newly adding redundant begin block 2018-12-21 06:12:42 +09:00
integer_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
json_test.rb Move test_not_compatible_with_serialize_macro to JSONSharedTestCases 2017-08-11 03:11:30 +09:00
ltree_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
money_test.rb Make currency symbols optional for money column type in PostgreSQL 2019-07-12 14:49:03 -04:00
network_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
numbers_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
optimizer_hints_test.rb Optimizer hints should be applied on Top level query as much as possible 2019-04-04 11:51:36 +09:00
partitions_test.rb Cache database version in schema cache 2019-04-03 11:10:14 -04:00
postgresql_adapter_test.rb Support cursors on readonly queries 2019-12-19 15:43:23 -05:00
prepared_statements_disabled_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
quoting_test.rb Allow spaces in postgres table names 2018-11-28 16:20:22 -05:00
range_test.rb PostgreSQL: Support endless range values for range types 2019-02-20 21:14:24 +09:00
referential_integrity_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
rename_table_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
schema_authorization_test.rb Merge pull request #29732 from kirs/frozen-activerecord 2017-07-21 14:36:30 -04:00
schema_test.rb Fix test_schema_names to include "hint_plan" schema 2019-06-15 07:29:33 +09:00
serial_test.rb Use assert_predicate and assert_not_predicate 2018-01-25 23:32:59 -05:00
statement_pool_test.rb removed unnecessary semicolons 2017-10-28 17:39:58 +09:00
timestamp_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
transaction_test.rb Enable Layout/EmptyLinesAroundAccessModifier cop 2019-06-13 12:00:45 +09:00
type_lookup_test.rb Postgres::OID::Range serializes to a Range, quote in Quoting 2017-09-26 20:04:36 -04:00
utils_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00
uuid_test.rb Move SchemaMigration to migration_context 2019-06-14 11:15:08 -04:00
xml_test.rb Use frozen-string-literal in ActiveRecord 2017-07-19 22:27:07 +03:00