isolation test output format

Поиск
Список
Период
Сортировка
От Andy Fan
Тема isolation test output format
Дата
Msg-id CAKU4AWrmVNxEntEyzYw6V2HwKUZfsEr0arVMLSkEk2BiW6FAnA@mail.gmail.com
обсуждение исходный текст
Ответы Re: isolation test output format  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi:

I'm using the isolation test to write some tests, and then I found the
output is unclear some time.
for example:

a              b              c
1988-12-14 01:03:031988-12-13 22:03:03-011988-12-14

Actually what I want is there are some spaces among the fields. like:

a              b              c
1988-12-14 01:03:03  1988-12-13 22:03:03-01  1988-12-14

The simplest reproduce case is:

setup
{
    CREATE TABLE c_tm(a timestamp, b timestamptz, c date);
}

session "s1"
step "s1inserttm"
{
    INSERT INTO c_tm VALUES('1988-12-14 01:03:03 +2', '1988-12-14
01:03:03 +2', '1988-12-14 01:03:03 +2');
}

step "s1read"
{
    SELECT * FROM c_tm;
}

Is there any simple way to improve this?

-- 
Best Regards
Andy Fan



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Paul Jungwirth
Дата:
Сообщение: Re: SQL:2011 application time
Следующее
От: Ken Kato
Дата:
Сообщение: CREATE tab completion