@@ -114,7 +114,7 @@ SELECT * FROM tbl_with_dropped_toast;
114
114
--
115
115
-- do repack
116
116
--
117
- \! pg_repack --dbname=contrib_regression --no-order
117
+ \! pg_repack --dbname=contrib_regression --table=tbl_badindex
118
118
WARNING: skipping invalid index: CREATE UNIQUE INDEX idx_badindex_n ON tbl_badindex USING btree (n)
119
119
\! pg_repack --dbname=contrib_regression
120
120
\! pg_repack --dbname=contrib_regression --table=tbl_cluster
@@ -301,17 +301,17 @@ CREATE TABLE tbl_nn_uk (col1 int NOT NULL, col2 int NOT NULL, UNIQUE(col1, col2)
301
301
CREATE TABLE tbl_pk_uk (col1 int NOT NULL, col2 int NOT NULL, PRIMARY KEY(col1, col2), UNIQUE(col2, col1));
302
302
CREATE TABLE tbl_nn_puk (col1 int NOT NULL, col2 int NOT NULL);
303
303
CREATE UNIQUE INDEX tbl_nn_puk_pcol1_idx ON tbl_nn_puk(col1) WHERE col1 < 10;
304
- \! pg_repack --dbname=contrib_regression --no-order -- table=tbl_nn
304
+ \! pg_repack --dbname=contrib_regression --table=tbl_nn
305
305
WARNING: relation "tbl_nn" must have a primary key or not-null unique keys
306
306
-- => WARNING
307
- \! pg_repack --dbname=contrib_regression --no-order -- table=tbl_uk
307
+ \! pg_repack --dbname=contrib_regression --table=tbl_uk
308
308
WARNING: relation "tbl_uk" must have a primary key or not-null unique keys
309
309
-- => WARNING
310
- \! pg_repack --dbname=contrib_regression --no-order -- table=tbl_nn_uk
310
+ \! pg_repack --dbname=contrib_regression --table=tbl_nn_uk
311
311
-- => OK
312
- \! pg_repack --dbname=contrib_regression --no-order -- table=tbl_pk_uk
312
+ \! pg_repack --dbname=contrib_regression --table=tbl_pk_uk
313
313
-- => OK
314
- \! pg_repack --dbname=contrib_regression --no-order -- table=tbl_nn_puk
314
+ \! pg_repack --dbname=contrib_regression --table=tbl_nn_puk
315
315
WARNING: relation "tbl_nn_puk" must have a primary key or not-null unique keys
316
316
-- => WARNING
317
317
--
@@ -325,7 +325,7 @@ SELECT repack.get_order_by('issue3_1_idx'::regclass::oid, 'issue3_1'::regclass::
325
325
col1, col2 DESC
326
326
(1 row)
327
327
328
- \! pg_repack --dbname=contrib_regression --no-order -- table=issue3_1
328
+ \! pg_repack --dbname=contrib_regression --table=issue3_1
329
329
CREATE TABLE issue3_2 (col1 int NOT NULL, col2 text NOT NULL);
330
330
CREATE UNIQUE INDEX issue3_2_idx ON issue3_2 (col1 DESC, col2 text_pattern_ops);
331
331
SELECT repack.get_order_by('issue3_2_idx'::regclass::oid, 'issue3_2'::regclass::oid);
@@ -334,7 +334,7 @@ SELECT repack.get_order_by('issue3_2_idx'::regclass::oid, 'issue3_2'::regclass::
334
334
col1 DESC, col2 USING ~<~
335
335
(1 row)
336
336
337
- \! pg_repack --dbname=contrib_regression --no-order -- table=issue3_2
337
+ \! pg_repack --dbname=contrib_regression --table=issue3_2
338
338
CREATE TABLE issue3_3 (col1 int NOT NULL, col2 text NOT NULL);
339
339
CREATE UNIQUE INDEX issue3_3_idx ON issue3_3 (col1 DESC, col2 DESC);
340
340
SELECT repack.get_order_by('issue3_3_idx'::regclass::oid, 'issue3_3'::regclass::oid);
@@ -343,7 +343,7 @@ SELECT repack.get_order_by('issue3_3_idx'::regclass::oid, 'issue3_3'::regclass::
343
343
col1 DESC, col2 DESC
344
344
(1 row)
345
345
346
- \! pg_repack --dbname=contrib_regression --no-order -- table=issue3_3
346
+ \! pg_repack --dbname=contrib_regression --table=issue3_3
347
347
CREATE TABLE issue3_4 (col1 int NOT NULL, col2 text NOT NULL);
348
348
CREATE UNIQUE INDEX issue3_4_idx ON issue3_4 (col1 NULLS FIRST, col2 text_pattern_ops DESC NULLS LAST);
349
349
SELECT repack.get_order_by('issue3_4_idx'::regclass::oid, 'issue3_4'::regclass::oid);
@@ -352,7 +352,7 @@ SELECT repack.get_order_by('issue3_4_idx'::regclass::oid, 'issue3_4'::regclass::
352
352
col1 NULLS FIRST, col2 DESC USING ~<~ NULLS LAST
353
353
(1 row)
354
354
355
- \! pg_repack --dbname=contrib_regression --no-order -- table=issue3_4
355
+ \! pg_repack --dbname=contrib_regression --table=issue3_4
356
356
CREATE TABLE issue3_5 (col1 int NOT NULL, col2 text NOT NULL);
357
357
CREATE UNIQUE INDEX issue3_5_idx ON issue3_5 (col1 DESC NULLS FIRST, col2 COLLATE "POSIX" DESC);
358
358
SELECT repack.get_order_by('issue3_5_idx'::regclass::oid, 'issue3_5'::regclass::oid);
@@ -361,4 +361,4 @@ SELECT repack.get_order_by('issue3_5_idx'::regclass::oid, 'issue3_5'::regclass::
361
361
col1 DESC, col2 COLLATE "POSIX" DESC
362
362
(1 row)
363
363
364
- \! pg_repack --dbname=contrib_regression --no-order -- table=issue3_5
364
+ \! pg_repack --dbname=contrib_regression --table=issue3_5
0 commit comments