diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-11-28 11:47:48 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-11-28 12:02:11 -0200 |
commit | 3e965e2144d515499c3c94de7973cf0bd84649e2 (patch) | |
tree | d149d62c022f229259025828f23bc6c7ddee2e36 /activerecord/test/schema | |
parent | f036862c0fa0377c78007daf7b79715f5cb8ff32 (diff) | |
download | rails-3e965e2144d515499c3c94de7973cf0bd84649e2.tar.gz rails-3e965e2144d515499c3c94de7973cf0bd84649e2.tar.bz2 rails-3e965e2144d515499c3c94de7973cf0bd84649e2.zip |
Fix some indentation in the postgresql_specific_schema
Diffstat (limited to 'activerecord/test/schema')
-rw-r--r-- | activerecord/test/schema/postgresql_specific_schema.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/activerecord/test/schema/postgresql_specific_schema.rb b/activerecord/test/schema/postgresql_specific_schema.rb index 775a1208b7..ab2a63d3ea 100644 --- a/activerecord/test/schema/postgresql_specific_schema.rb +++ b/activerecord/test/schema/postgresql_specific_schema.rb @@ -152,7 +152,7 @@ _SQL ); _SQL -begin + begin execute <<_SQL CREATE TABLE postgresql_partitioned_table_parent ( id SERIAL PRIMARY KEY, @@ -174,14 +174,14 @@ begin BEFORE INSERT ON postgresql_partitioned_table_parent FOR EACH ROW EXECUTE PROCEDURE partitioned_insert_trigger(); _SQL -rescue ActiveRecord::StatementInvalid => e - if e.message =~ /language "plpgsql" does not exist/ - execute "CREATE LANGUAGE 'plpgsql';" - retry - else - raise e + rescue ActiveRecord::StatementInvalid => e + if e.message =~ /language "plpgsql" does not exist/ + execute "CREATE LANGUAGE 'plpgsql';" + retry + else + raise e + end end -end begin execute <<_SQL @@ -190,7 +190,7 @@ end data xml ); _SQL -rescue #This version of PostgreSQL either has no XML support or is was not compiled with XML support: skipping table + rescue #This version of PostgreSQL either has no XML support or is was not compiled with XML support: skipping table end # This table is to verify if the :limit option is being ignored for text and binary columns |