aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/connection_adapters/postgresql/quoting.rb
Commit message (Expand)AuthorAgeFilesLines
* Share the column and table name quote cache between connectionsJean Boussier2019-07-091-2/+2
* Allow column name with function (e.g. `length(title)`) as safe SQL stringRyuta Kamizono2019-06-101-2/+8
* Allow `column_name AS alias` as safe SQL stringRyuta Kamizono2019-06-101-0/+1
* Refactor `disallow_raw_sql!` to avoid `split(/\s*,\s*/)` to order argsRyuta Kamizono2019-06-091-6/+14
* Allow quoted identifier string as safe SQL stringRyuta Kamizono2019-06-061-0/+22
* PostgreSQL: Support endless range values for range typesRyuta Kamizono2019-02-201-1/+1
* PostgreSQL: Properly quote all `Infinity` and `NaN`Ryuta Kamizono2018-11-091-4/+4
* Correctly handle infinity value in PostgreSQL range typeyuuji.yaginuma2018-01-041-1/+9
* `Postgres::OID::Range` serializes to a `Range`, quote in `Quoting`Thomas Cannon2017-09-261-0/+8
* Fix `quote_default_expression` for UUID with array defaultRyuta Kamizono2017-09-081-1/+1
* 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
* Merge pull request #29540 from kirs/rubocop-frozen-stringMatthew Draper2017-07-021-0/+1
|\
| * Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* | Don't cache queries for schema statementsRyuta Kamizono2017-06-301-1/+1
|/
* Fix UUID column with `null: true` and `default: nil`Ryuta Kamizono2017-05-301-1/+1
* Make internal methods to privateRyuta Kamizono2017-03-271-0/+3
* [PostgreSQL]: Replace deprecated PG constants.Lars Kanis2017-03-221-3/+3
* Merge pull request #26630 from kamipo/quoted_binaryRafael França2017-02-131-2/+4
|\
| * Extract `quoted_binary` and use it rather than override `_quote`Ryuta Kamizono2016-09-271-2/+4
* | Consistently apply adapter behavior when serializing arraysSean Griffin2017-01-031-0/+29
|/
* normalizes indentation and whitespace across the projectXavier Noria2016-08-061-30/+30
* applies new string literal convention in activerecord/libXavier Noria2016-08-061-1/+1
* `@quoted_{column,table}_names` should cache a frozen stringRyuta Kamizono2016-07-281-2/+2
* systematic revision of =~ usage in ARXavier Noria2016-07-231-1/+1
* Move `@quoted_{column|table}_names` cache up to the abstract adapterRyuta Kamizono2016-03-311-4/+4
* Add expression support on the schema defaultRyuta Kamizono2016-01-131-4/+5
* pg, `create_schema`, `drop_schema` and `rename_table` quote schema name.Yves Senn2015-08-281-0/+5
* Move comment about microseconds [ci skip]Ryuta Kamizono2015-05-031-2/+1
* Register adapter specific types with the global type registrySean Griffin2015-02-151-38/+0
* Merge pull request #18888 from kamipo/refactor_quote_default_expressionRafael Mendonça França2015-02-111-2/+4
|\
| * Refactor `quote_default_expression`Ryuta Kamizono2015-02-111-2/+4
* | Remove most PG specific type subclassesSean Griffin2015-02-111-3/+0
|/
* Allow a symbol to be passed to `attribute`, in place of a type objectSean Griffin2015-02-061-0/+41
* Remove most uses of `Column#cast_type`Sean Griffin2015-01-301-1/+5
* Stop passing the column to the `quote` method when quoting defaultsRyuta Kamizono2015-01-041-1/+2
* Refactor `quoted_date`Ryuta Kamizono2014-12-111-7/+3
* Move PG float quoting to the correct locationSean Griffin2014-11-251-16/+6
* Remove redundant `to_s` in interpolationclaudiob2014-10-301-1/+1
* Don't rely on the column SQL type for bit string quotingSean Griffin2014-07-111-13/+7
* Merge pull request #16071 from sgrif/sg-pg-type-castRafael Mendonça França2014-07-081-15/+0
|\
| * Remove PG's definition of `type_cast`Sean Griffin2014-07-061-15/+0
* | Don't rely on the sql type to quote XML columns in PGSean Griffin2014-07-061-3/+8
|/
* Use the type object for quoting PG RangesSean Griffin2014-07-051-13/+0
* Merge pull request #16037 from sgrif/sg-money-quotingRafael Mendonça França2014-07-041-7/+0
|\
| * Remove unneccessary special case for money in quotingSean Griffin2014-07-031-7/+0
* | Merge pull request #16036 from sgrif/sg-datetime-infinityRafael Mendonça França2014-07-031-3/+1
|\ \
| * | Do not rely on the column type when quoting infinitySean Griffin2014-07-031-3/+1
| |/
* / Use the type object for type casting HStore columnsSean Griffin2014-07-031-10/+0
|/
* Quote range strings when quoting PG rangesSean Griffin2014-07-021-1/+1