Hi,
I have been using pg_repack for quite some time and when recently upgrading to PostgreSQL 10 and a newer version of pg_repack I noticed the support for unlogged tables is gone.
I tried recompiling pg_repack version 1.4.2 after reverting this change: #72 but I still hangs:
sudo -u postgres ./pg_repack test_database --echo --no-order --table=unlogged_table LOG: (query) select repack.version(), repack.version_sql() LOG: (query) SET statement_timeout = 0 LOG: (query) SET search_path = pg_catalog, pg_temp, public LOG: (query) SET client_min_messages = warning LOG: (query) SELECT t.*, coalesce(v.tablespace, t.tablespace_orig) as tablespace_dest FROM repack.tables t, (VALUES (quote_ident($1::text))) as v (tablespace) WHERE (relid = $2::regclass) ORDER BY t.relname, t.schemaname LOG: (param:0) = (null) LOG: (param:1) = unlogged_table
Any suggestions on what else I might have missed? It would be great if one could force repacking of unlogged tables with a flag like --no-presistence-check or something similiar.
Hi, I have been using pg_repack for quite some time and when recently upgrading to PostgreSQL 10 and a newer version of pg_repack I noticed the support for unlogged tables is gone.
I tried recompiling pg_repack version 1.4.2 after reverting this change: #72 but I still hangs:
sudo -u postgres ./pg_repack test_database --echo --no-order --table=unlogged_table LOG: (query) select repack.version(), repack.version_sql() LOG: (query) SET statement_timeout = 0 LOG: (query) SET search_path = pg_catalog, pg_temp, public LOG: (query) SET client_min_messages = warning LOG: (query) SELECT t.*, coalesce(v.tablespace, t.tablespace_orig) as tablespace_dest FROM repack.tables t, (VALUES (quote_ident($1::text))) as v (tablespace) WHERE (relid = $2::regclass) ORDER BY t.relname, t.schemaname LOG: (param:0) = (null) LOG: (param:1) = unlogged_table
Any suggestions on what else I might have missed? It would be great if one could force repacking of unlogged tables with a flag like --no-presistence-check or something similiar.
Regards, Anton Lindholm