1. 24 11月, 2019 8 次提交
    • R
      Add missing period · 56f63552
      Ryuta Kamizono 提交于
      56f63552
    • R
      Titleize header [ci skip] · 93e154ac
      Ryuta Kamizono 提交于
      Sync style with Basic Authentication and Digest Authentication headers.
      93e154ac
    • R
      Auto-correct rubocop offences · d558febe
      Ryuta Kamizono 提交于
      d558febe
    • R
      Enable `Layout/ClosingHeredocIndentation` cop · 9b8fb3fc
      Ryuta Kamizono 提交于
      9b8fb3fc
    • R
      Fixup CHANGELOGs [ci skip] · 214f4393
      Ryuta Kamizono 提交于
      214f4393
    • R
      Follow up 997770f5 · 9714d5d1
      Ryuta Kamizono 提交于
      [ci skip]
      9714d5d1
    • R
      Merge pull request #37784 from larskanis/cached-plan-changed · 90850b5a
      Ryuta Kamizono 提交于
      PostgreSQL: Make detection of invalid plan locale-independent
      90850b5a
    • L
      PostgreSQL: Make detection of invalid plan locale-independent · d507ae2a
      Lars Kanis 提交于
      The text of error messages from a PostgreSQL server depend on the
      setting "lc_messages" in postgresql.conf.
      The current detection of the particular error condition of an invalid
      plan therefore works with English language setting on the server only.
      Other locale settings result in a wrong exception type, which lead
      to two test failures:
      
      HotCompatibilityTest#test_cleans_up_after_prepared_statement_failure_in_a_transaction [test/cases/hot_compatibility_test.rb:75]:
      [ActiveRecord::PreparedStatementCacheExpired] exception expected, not
      Class: <ActiveRecord::StatementInvalid>
      Message: <"PG::FeatureNotSupported: FEHLER:  gecachter Plan darf den Ergebnistyp nicht ändern\n">
      
      Here the German message wasn't recognized, so that an StatementInvalid
      is raised instead of PreparedStatementCacheExpired.
      
      Using the PG_DIAG_SOURCE_FUNCTION is independent of the locale setting.
      It is not guarantied to be stable, but it has been unchanged since PostgreSQL-9.2.
      On the other hand the text to be matched isn't guarantied to be stable either.
      d507ae2a
  2. 23 11月, 2019 3 次提交
  3. 22 11月, 2019 19 次提交
  4. 21 11月, 2019 8 次提交
  5. 20 11月, 2019 2 次提交