diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2018-04-26 11:52:52 -0400 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2018-04-27 11:37:43 -0400 |
commit | d4f16d50713077e69f8833df6b99d1eab0be1c33 (patch) | |
tree | f9acf7a056f6db6ba9b4e0059710276bb40d37aa /src/test/modules/commit_ts/t/001_base.pl | |
parent | a2ada08d4c0afa2d1f678ba7fb03ccc065f3a57b (diff) | |
download | postgresql-d4f16d50713077e69f8833df6b99d1eab0be1c33.tar.gz postgresql-d4f16d50713077e69f8833df6b99d1eab0be1c33.zip |
perltidy: Add option --nooutdent-long-quotes
Diffstat (limited to 'src/test/modules/commit_ts/t/001_base.pl')
-rw-r--r-- | src/test/modules/commit_ts/t/001_base.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/modules/commit_ts/t/001_base.pl b/src/test/modules/commit_ts/t/001_base.pl index 9290a85d89e..f8d5d84cc52 100644 --- a/src/test/modules/commit_ts/t/001_base.pl +++ b/src/test/modules/commit_ts/t/001_base.pl @@ -16,11 +16,11 @@ $node->start; $node->safe_psql('postgres', 'create table t as select now from (select now(), pg_sleep(1)) f'); my $true = $node->safe_psql('postgres', -'select t.now - ts.* < \'1s\' from t, pg_class c, pg_xact_commit_timestamp(c.xmin) ts where relname = \'t\'' + 'select t.now - ts.* < \'1s\' from t, pg_class c, pg_xact_commit_timestamp(c.xmin) ts where relname = \'t\'' ); is($true, 't', 'commit TS is set'); my $ts = $node->safe_psql('postgres', -'select ts.* from pg_class, pg_xact_commit_timestamp(xmin) ts where relname = \'t\'' + 'select ts.* from pg_class, pg_xact_commit_timestamp(xmin) ts where relname = \'t\'' ); # Verify that we read the same TS after crash recovery @@ -28,6 +28,6 @@ $node->stop('immediate'); $node->start; my $recovered_ts = $node->safe_psql('postgres', -'select ts.* from pg_class, pg_xact_commit_timestamp(xmin) ts where relname = \'t\'' + 'select ts.* from pg_class, pg_xact_commit_timestamp(xmin) ts where relname = \'t\'' ); is($recovered_ts, $ts, 'commit TS remains after crash recovery'); |