aboutsummaryrefslogtreecommitdiff
path: root/src/bin/scripts/t/101_vacuumdb_all.pl
blob: a60fc79aae7ed5a12331f707dfc01c80236b6f1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Copyright (c) 2021, PostgreSQL Global Development Group

use strict;
use warnings;

use PostgresNode;
use Test::More tests => 2;

my $node = PostgresNode->new('main');
$node->init;
$node->start;

$node->issues_sql_like(
	[ 'vacuumdb', '-a' ],
	qr/statement: VACUUM.*statement: VACUUM/s,
	'vacuum all databases');