Skip to content
  • Jacob Evelyn's avatar
    bfc4d8be
    Add support for UNLOGGED Postgresql tables · bfc4d8be
    Jacob Evelyn authored
    This commit adds support for the
    `ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.create_unlogged_tables`
    setting, which turns `CREATE TABLE` SQL statements into
    `CREATE UNLOGGED TABLE` statements.
    
    This can improve PostgreSQL performance but at the
    cost of data durability, and thus it is highly recommended
    that you *DO NOT* enable this in a production environment.
    bfc4d8be
    Add support for UNLOGGED Postgresql tables
    Jacob Evelyn authored
    This commit adds support for the
    `ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.create_unlogged_tables`
    setting, which turns `CREATE TABLE` SQL statements into
    `CREATE UNLOGGED TABLE` statements.
    
    This can improve PostgreSQL performance but at the
    cost of data durability, and thus it is highly recommended
    that you *DO NOT* enable this in a production environment.
Loading