Isolation tester result formatting

From: Thomas Munro <thomas(dot)munro(at)enterprisedb(dot)com>
To: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Isolation tester result formatting
Date: 2018-02-23 10:33:15
Message-ID: CAEepm=2v7+EHs6zsJzFn+zJOT4F4Kb69Z1xJ7Zf5kgwLr1n=VA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi hackers,

Due to recent naming inflation, the isolation tester output has become
jagged (when viewed in a monospace font):

test lock-update-delete ... ok
test lock-update-traversal ... ok
test insert-conflict-do-nothing ... ok
test insert-conflict-do-nothing-2 ... ok
test insert-conflict-do-update ... ok
test insert-conflict-do-update-2 ... ok
test insert-conflict-do-update-3 ... ok
test insert-conflict-toast ... ok
test delete-abort-savept ... ok

If we widened the field by 4 spaces it'd fit all current test names:

test lock-update-delete ... ok
test lock-update-traversal ... ok
test insert-conflict-do-nothing ... ok
test insert-conflict-do-nothing-2 ... ok
test insert-conflict-do-update ... ok
test insert-conflict-do-update-2 ... ok
test insert-conflict-do-update-3 ... ok
test insert-conflict-toast ... ok
test delete-abort-savept ... ok

Patch attached. I realise this isn't the most pressing problem faced
by computer science...

--
Thomas Munro
http://www.enterprisedb.com

Attachment Content-Type Size
test-name-inflation-adjustment.patch application/octet-stream 1.1 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2018-02-23 11:04:17 Re: [HACKERS] SERIALIZABLE with parallel query
Previous Message Andres Freund 2018-02-23 08:05:11 Re: RTLD_GLOBAL (& JIT inlining)