aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql/database_statements.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove ignored_sql from SQLCounter by adding "TRANSACTION" to log nameYasuo Honda2019-05-081-3/+3
* Remove unused `sequence_name` in `sql_for_insert`Ryuta Kamizono2019-04-101-1/+1
* Make `truncate_tables` to bulk statementsRyuta Kamizono2019-03-171-6/+4
* Extract `truncate` and `truncate_tables` into database statementsRyuta Kamizono2019-03-171-0/+6
* Remove `id_value` argument which is no longer passed to `sql_for_insert`Ryuta Kamizono2019-01-111-1/+1
* An empty transaction does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-111-1/+1
* An explain query does not raise the `ReadOnlyError` if preventing writesRyuta Kamizono2018-12-111-1/+1
* Don't treat begin and rollback transactions as write queriesRyuta Kamizono2018-12-111-1/+1
* Rename error that occurs when writing on a readEileen Uchitelle2018-12-071-1/+1
* Address "warning: shadowing outer local variable - parts"Ryuta Kamizono2018-12-031-1/+2
* Add ability to prevent writes to a databaseEileen Uchitelle2018-11-301-0/+10
* Omit BEGIN/COMMIT statements for empty transactionsEugene Kenny2018-08-131-0/+4
* Restore `to_sql` to return only SQL (#29945)Ryuta Kamizono2017-08-181-2/+1
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-1/+2
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Use `quote` method rather than single quotes to identifiers in SQLRyuta Kamizono2017-06-291-0/+4
* Ensure query caching for `select_*` methods in connection adaptersRyuta Kamizono2017-06-151-32/+0
* Fix `select_rows` method signature for consistencyRyuta Kamizono2017-01-041-10/+14
* Sync the visibility of `sql_for_insert` to privateRyuta Kamizono2016-12-291-1/+1
* Permit loads while queries are runningMatthew Draper2016-10-271-2/+6
* [ci skip] Update PG adapter documentationAlex Kitchens2016-09-261-1/+1
* [ci skip] Clarify Postgresql DocumentationAlex Kitchens2016-09-251-4/+4
* Remove unnecessary `test_sql_for_insert_with_returning_disabled`Ryuta Kamizono2016-08-181-3/+2
* Merge pull request #26002 from kamipo/sql_for_insert_should_be_called_inside_...Rafael França2016-08-171-6/+10
|\
| * `sql_for_insert` should be called inside `exec_insert`Ryuta Kamizono2016-08-061-6/+10
* | Add three new rubocop rulesRafael Mendonça França2016-08-161-1/+1
* | normalizes indentation and whitespace across the projectXavier Noria2016-08-061-3/+3
* | applies new string literal convention in activerecord/libXavier Noria2016-08-061-4/+4
|/
* Make `name` and `binds` to optional args for `exec_{insert,update,delete}`Ryuta Kamizono2016-08-041-2/+2
* Move the warning about composite primary key to `AttributeMethods::PrimaryKey`Ryuta Kamizono2016-07-021-0/+8
* eliminate warnings about multiple primary keys on habtm join tablesAaron Patterson2016-02-191-1/+1
* Extract `ExplainPrettyPrinter` to appropriate filesRyuta Kamizono2016-02-011-38/+1
* Clarify DatabaseStatements#execute docs re: memory usage.James Coleman2016-01-221-0/+2
* `sql_for_insert` returns values for passing to `exec_insert`Ryuta Kamizono2016-01-151-12/+8
* Merge pull request #22973 from kamipo/fix_select_values_method_signatureRafael França2016-01-081-2/+2
|\
| * Fix `select_values` method signature for consistencyRyuta Kamizono2016-01-081-2/+2
* | `{update|delete}_sql` are almost the same as `{update|delete}`Ryuta Kamizono2016-01-081-5/+0
|/
* Refactor `connection.insert_sql`Ryuta Kamizono2016-01-071-16/+2
* Fix `connection#create` in PG adapterRyuta Kamizono2016-01-051-4/+0
* Do not cache prepared statements that are unlikely to have cache hitsSean Griffin2015-10-201-2/+2
* Wrong usage of 'a' in docs fixed [ci skip]Mehmet Emin İNAÇ2015-10-031-1/+1
* Restore query cache on rollbackFlorian Weingarten2014-12-011-1/+1
* rm `reorder_bind_params`Sean Griffin2014-11-171-4/+0
* Remove redundant substitute index when constructing bind valuesMelanie Gilman2014-10-311-1/+1
* move PostgreSQL's DatabaseStatements out of the PostgreSQLAdapter name-spacekares2014-05-141-1/+6
* Optimize select_value, select_values, select_rows and dry up checking whether...Kris Selden2014-04-171-19/+33
* PostgreSQL, adapter automatically reloads it's type map. Closes #14678.Yves Senn2014-04-111-4/+1
* Fix regression on `.select_*` methods.Arthur Neves2014-01-301-2/+2