small regression adjustment

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема small regression adjustment
Дата
Msg-id 53323126.8030107@dunslane.net
обсуждение исходный текст
Ответы Re: small regression adjustment  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
It occurred to me after having to change I think 9 files to clean up a
small mess in the jsonb regression tests the other day that we might
usefully expose the inputdir and outputdir to psql as variables when
running pg_regress. Then we might be able to do thing like this, quite
independent of location:

    \set datafile :inputdir/data/mystuff.data
    COPY mytable FROM :'datafile';

The actual location would not need to appear in the SQL (and thus not in
the results file either).

A small patch that tries to do that is attached.

Thoughts?

cheers

andrew

Вложения

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Minimum supported version of Python?
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: [bug fix] PostgreSQL fails to start on Windows if it crashes after tablespace creation