Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions lib/activerecord-clean-db-structure/clean_dump.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def clean
dump.gsub!(/^-- Dumped.*/, '')
dump.gsub!(/^SET row_security = off;\n/m, '') # 9.5
dump.gsub!(/^SET idle_in_transaction_session_timeout = 0;\n/m, '') # 9.6
dump.gsub!(/^SET transaction_timeout = 0;\n/m, '') # 17
dump.gsub!(/^SET default_with_oids = false;\n/m, '') # all older than 12
dump.gsub!(/^SET xmloption = content;\n/m, '') # 12
dump.gsub!(/^SET default_table_access_method = heap;\n/m, '') # 12
Expand Down
1 change: 1 addition & 0 deletions test/data/input.sql
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
SET statement_timeout = 0;
SET lock_timeout = 0;
SET idle_in_transaction_session_timeout = 0;
SET transaction_timeout = 0;
SET client_encoding = 'UTF8';
SET standard_conforming_strings = on;
SELECT pg_catalog.set_config('search_path', '', false);
Expand Down
Loading