pg_repack.git / summary / log / commit / refs

commit    b6ea2ca3c98a52ef3a3af3ba5edae82a9ae87d1a
Author:   Masahiko Sawada <sawada.mshk@gmail.com>
Commit:   Daniele Varrazzo <daniele.varrazzo@gmail.com>
Date:     Mon Apr 10 09:00:17 2017 +0000

    Fix the mix of tabs and space.


lib/pg_repack.sql.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pg_repack.sql.in b/lib/pg_repack.sql.in index 4fb0746..846a820 100644 --- a/lib/pg_repack.sql.in +++ b/lib/pg_repack.sql.in @@ -217,8 +217,8 @@ CREATE VIEW repack.tables AS 'CREATE TABLE repack.table_' || R.oid || ' WITH (' || array_to_string(array_append(R.reloptions, 'oids=' || CASE WHEN R.relhasoids THEN 'true' ELSE 'false' END), ',') || ') TABLESPACE ' AS create_table_1, coalesce(quote_ident(S.spcname), 'pg_default') as tablespace_orig, ' AS SELECT ' || repack.get_columns_for_create_as(R.oid) || ' FROM ONLY ' || repack.oid2text(R.oid) AS create_table_2, - 'INSERT INTO repack.table_' || R.oid || ' SELECT ' || repack.get_columns_for_create_as(R.oid) || ' FROM ONLY ' || repack.oid2text(R.oid) AS copy_data, - repack.get_alter_col_storage(R.oid) AS alter_col_storage, + 'INSERT INTO repack.table_' || R.oid || ' SELECT ' || repack.get_columns_for_create_as(R.oid) || ' FROM ONLY ' || repack.oid2text(R.oid) AS copy_data, + repack.get_alter_col_storage(R.oid) AS alter_col_storage, repack.get_drop_columns(R.oid, 'repack.table_' || R.oid) AS drop_columns, 'DELETE FROM repack.log_' || R.oid AS delete_log, 'LOCK TABLE ' || repack.oid2text(R.oid) || ' IN ACCESS EXCLUSIVE MODE' AS lock_table, [parent: 789e819d7481]